Home › Forums › Support › Change body background colour This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 26, 2022 at 8:36 am #2200823 Sanu Kumar I am looking to change the background color for this page only: https://www.masteryblogging.com/ (its homepage). How can I do that?. I used this code but didn’t work: body.page-id-462 { background-color: #ffffff; } Note: 462 is my page id. April 26, 2022 at 9:04 am #2200847 DavidStaff Customer Support Hi there, try: body.home { background-color: #ffffff; } But there is also the Content Container background – and if you need to change that as well, then you add this: .home #page { background-color: #ffffff; } April 26, 2022 at 9:38 am #2200878 Sanu Kumar Tried this body.home { background-color: #ffffff; } but not working. April 26, 2022 at 9:47 am #2200885 DavidStaff Customer Support The body is already #ffffff; But i don’t see that CSS loading on your site: 1. Move that CSS to the very top of your CSS. 2. change the style to a different color so you can see the change eg. background-color: #ff0000; 3. Clear your plugin and browser caches. April 26, 2022 at 10:16 am #2200907 Sanu Kumar It is now working. Thank you, David. Apart from this, I’m also looking to change the width of this page only. Help me with that? April 26, 2022 at 10:45 am #2200921 YingStaff Customer Support You can use a layout element to set content container width: https://docs.generatepress.com/article/layout-element-overview/ Choosefront page as location. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In