MyBB Community Forums
[How To?] How can I change post background color? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] How can I change post background color? (/thread-222185.html)



How can I change post background color? - Mehh - 2019-03-04

I'm looking to see how I can change the background of posts.


RE: How can I change post background color? - NoRules - 2019-03-04

Hi,

in the global.css of your theme, add in .post_body the background color or image you want.


RE: How can I change post background color? - Mehh - 2019-03-04

(2019-03-04, 10:05 AM)NoRules Wrote: Hi,

in the global.css of your theme, add in .post_body the background color or image you want.

Do I just put color: #1F0CD2; or? I put that and it did not work.


RE: How can I change post background color? - NoRules - 2019-03-04

Hi,

you have to add:
background-color: #1F0CD2;

And .post_body should be something like this:

.post_body {
    font-size: 14px;
    padding: 12px 0;
    background-color: #1F0CD2;
}
BTW, remeber to make a hard refresh of your browser to see changes (CTRL + F5)