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 :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffarm7.static.flickr.com%2F6020%2F6007577509_d1204a7558.jpg&hash=7552c9bb6190c540525ec2a0f59926aef864cd10)
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.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ffarm7.static.flickr.com%2F6025%2F6010417402_c956f10f1d_z.jpg&hash=c6d6134fa6e50f66b9852e2e1d4f02bc91bfff43)
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...