Home page background color


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.



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,


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




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,