BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › body bg color
- This topic has 12 replies, 4 contibutors, and was last updated 9 years, 9 months ago by Alyssa.
Question
February 12, 2015 at 1:37 am #35845@discdemoHi! Went off some posts but not thinking I have it right.
Can you check my edit in custom.css?
I just want to make the body bg black and actually, if
you can also include how to set the text color, I’d appreciate it.
The bg for black and text color is for the body and the widgets, if those are different than body.
I tried it within the sample brackets, as well. No joy. I’m a css novice;-)
Obviously.————————————————————–*/
/*————————————————————–
1.0 – Global Styles
————————————————————–*/body{background:black;}
/*
.just_an_example {
color: black;
}
*/Tried this, too:
/*
body{background-color:black;}
.just_an_example {
color: black;
}
*/Thx for your help!
jzAnswers
February 12, 2015 at 9:58 pm #35889@alyssa-buddyboss
AlyssaParticipant@discdemo there are a few more divs you need to add the black background to:
html, body, #main-wrap, #inner-wrap, #page, #main, #masthead{background:black; color:white;}
NOTE #masthead is the header, you can remove that as needed.
To make this easier you may want to get accustomed to the developer tools for chrome or IE or firebug plugin for FireFox. Use the inspect element tool to find out which elements to edit 🙂February 12, 2015 at 10:48 pm #35896@discdemoThx, TJ!
Is this the right way to add it?.masthead{background:black; color:white;}
.inner-wrap{background:black; color:white;}
.page{background:black; color:white;}
.main{background:black; color:white;}
.html{background:black; color:white;}
.body{background:black; color:white;}February 14, 2015 at 12:59 pm #35941@alyssa-buddyboss
AlyssaParticipant@discdemo the code I posted is the exact code to place in your custom.css file.
February 16, 2015 at 7:10 pm #36064@discdemoThx, TJ. I’m still not seeing the black bg, throughout the body of the page.
I used this in 1.0 – Global Styles:
/*
html, body, #main-wrap, #inner-wrap, #page, #main, #masthead{background:black; color:white;}
.just_an_example {
color: black;
}
*/The site is biblehighlighters.org, if you want to check the front end.
Thank you for helping me try to figure this out, TJ.
jzFebruary 16, 2015 at 8:35 pm #36066@cwilliams@discdemo did you see this ” #masthead{background:black; color:white;} ” section of the code given to you by @tjchester that is how he is setting the background color
February 17, 2015 at 6:11 am #36076@style960@discdemo body still has a background color of #FFF. Try this:
html, body, #main-wrap, #inner-wrap, #page, #main, #masthead{background:black; color:white !important;}
February 17, 2015 at 6:40 am #36077@style960Correction:
html, body, #main-wrap, #inner-wrap, #page, #main, #masthead{background:black !important; color:white !important;}
February 17, 2015 at 8:24 am #36080@discdemoTried the new code with the overrides, Paul. No joy. Thx for trying!
February 17, 2015 at 9:28 am #36082@style960Try adding
body .site
after body and before #main-wrap. This does work when using Chrome’s inspector tool on your site.February 17, 2015 at 1:17 pm #36091February 17, 2015 at 7:40 pm #36108@discdemoYes, awesome. What I am sure is basic and with this lesson learned, I now see my css updates.
Thanks, TJ. Thx all who have given their time and input.
Much appreciated!Now, stay vigilant! Drop me a msg if you want to join
in at biblehighlighters.org … when it’s ready (or jzee.tv).
Adios for now! I’m sure I’ll have more questions;-)jz
February 18, 2015 at 3:57 pm #36164@alyssa-buddyboss
AlyssaParticipantGlad this is resolved 🙂
- The question ‘body bg color’ is closed to new replies.