Hello! I'm trying to make another color for the profile/poster area in a post. When I change the background color it changes for both the whole post including the user area. Is there a way to fix this?
See attachment.
Here's my css code:
#forumposts .windowbg, #forumposts .windowbg2
{
border: 1px solid #979798;
border-radius: 12px 12px 12px 12px;;
background-color: #F8F8F8;
}
You can fix that by editing Display.template.php for the theme you're using (or the default theme if the one you're using doesn't have that file).
Thank you, Oldiesman! What should I edit in Display.template.php?
// Show information about the poster of this message.
echo '
<div class="poster" style="background: red;">
<h4>';
or you can change it in the css
find
.poster{
add
background-color: #FF0000; or what ever color you want
doing it this way will change the poster background color in pms also. if you don't want to do that then you can just add another class
<div class="poster posterbg">
then add this to your css
.postertbg{
background-color: #FF0000;
}
sorry Krash i just always would rather use css to do the style where i can.
You don't have to add another class to change the topics and not the PMs, you can just use:
#forumposts .poster
Lainaus käyttäjältä: emanuele - marraskuu 03, 2013, 03:34:08 IP
You don't have to add another class to change the topics and not the PMs, you can just use:
#forumposts .poster
good point emanuele :)
Thanks lot for the help, guys! New collor on profile field and a nice frame is made: http://hellasforum.net/index.php?topic=8213.0 :) :)