Hello,
How can I change the background color for profile, so, it is different to the post.
I found a similar post, but, it doesn't seem to work with SMF 2.0
Changing background color of profile area next to posts
http://www.simplemachines.org/community/index.php?topic=333882.0
Can anyone help?
In main css file look for class "poster" .
You need to modify that class..
Hello
Ricky.,
The default css file is at: \smf2_root\Themes\default\css\index.css
Orignal code I found as the following:
.poster
{
float: left;
width: 15em;
}
I added "background " to it.
.poster
{
float: left;
width: 15em;
background: #ff0000;
}
Then give me the following look :

What should I do to make the color all the way down? like your post?
Thanks for the hint.
Best Regards
Well, it may not cover whole. Still you can add :
min-height:200px
Dear Ricky.
Can you post your css code?
Best Regards
I tried and there is a problem.
If I use "min-height:200px;" then it occupied 200px of screen resolution space. If I set to 500px, it will occupied 500px, even the post doesn't contain that long.
Please see the following displayed image.
You can do it the opposite way by painting the .post_wrapper (red), then the .postarea & ..moderatorbar blue.
I did it in one of my themes (http://custom.simplemachines.org/themes/index.php?action=profile;u=144421).
Something like:
.post_wrapper {
background-color: red;
float: left;
width: 100%;
}
.postarea, .moderatorbar {
background: blue;
margin: 0 0 0 16em;
overflow: hidden;
}
You also need to tweak paddings etc.
Thankx Akyhne
I though the modified would only required one line...