Home page background color


#1

Hello,
I need to have an uniform black background color for my Homepage (a static Front Page), with white text. I am struggling to achieve it.


#2

Hi,

You can change a static page’s background color with this Custom CSS:

.home #page {
    background: red !important;
}

Add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba


#3

Thanks, it worked fine. Now I have to remove the thin grey border and double lines appearing above and under the text.

Michele


#4

Hi,

Great! You’re most welcome! If you need help with anything else, please, feel free to open a new topic.

Have a nice day!

Best Regards,
Csaba