Changing the poster's background based on their rank
2 posters
Page 1 of 1
Changing the poster's background based on their rank
Hello! So, for some time I've been trying to put a different color background depending on the user's rank in messages.
I edited the java script for the post background depending if you're boy or girl, and it works. For example, admin:
But there's one problem. When I put a border and border radius, there are some "cut out" parts that are not supposed to be there. Here's a pic:
(Where there's black, it should have been pink.)
Any ideas how to fix that?
I edited the java script for the post background depending if you're boy or girl, and it works. For example, admin:
- Code:
$(function() {
$(".postdetails img[title='Admin']").closest('.postdetails').parent('td').addClass("poster_admin").next('td');
});
But there's one problem. When I put a border and border radius, there are some "cut out" parts that are not supposed to be there. Here's a pic:
(Where there's black, it should have been pink.)
Any ideas how to fix that?
sunside- New Member
- Posts : 10
Reputation : 0
Language : Bulgarian
Re: Changing the poster's background based on their rank
hello.
What is your forum adress? I think it is because of background...
And what is your forum version?
What is your forum adress? I think it is because of background...
And what is your forum version?
Re: Changing the poster's background based on their rank
http://hushhush.bulgarianforum.net/ it's phpBB2.
It's not from the BG. I managed to figure out (after I read the forum template a few times) that tha JavaScript makes the new class around the poster column so that's why there're black... places?
I tried multiple times to find a way to create the new class just around the poster-profile (cause that's what I need), but I cant't.
It's not from the BG. I managed to figure out (after I read the forum template a few times) that tha JavaScript makes the new class around the poster column so that's why there're black... places?
I tried multiple times to find a way to create the new class just around the poster-profile (cause that's what I need), but I cant't.
sunside- New Member
- Posts : 10
Reputation : 0
Language : Bulgarian
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum