How to change body section background color for one individual page??
-
My website uses universal black background for body sections on all pages, however there is one particular page I’d like it to have white background so it looks nicer to display client logos. The link is here: https://test.elportdigital.com/our-clients/
As you can see the logos don’t look very nice with the black background. I did some research and can see that I have <body <?php body_class(); ?>> below the </head> tag, and the page preview tells me the page id=287. I tried to add the below code in my child theme’s CSS:
body.page-id-287 { background-color: #FF0000 !important; }
but it didn’t work at all. I’m a coding novice and wondering if anybody can spot the problem here and advise me how to sorlve the problem?
Thank you so much!
Sean
- The topic ‘How to change body section background color for one individual page??’ is closed to new replies.