Site logo

Archived topic

Background color of inside content contener

8 replies · Started by Evadex on July 4, 2017

Viewing posts 1–9 of 9

Hi,
I'm beginner, I search how to change the Background color of inside content contener, just for one page.
I've ever test with css :
#content{
background-color: #fff;
}
but just a white line appears before and after the content.
Thank you very much for your help

Hi there,

Easiest way would be to use Tom's Simple CSS plugin:
https://docs.generatepress.com/article/adding-css/#simple-css

It provides a CSS meta box on each individual page.

On the page you want to change the color, try this CSS:

.inside-article {
    background-color: #848484 !important;
}

Let me know.

Unfortunatly, no change
I tested with inside-content without effect too
Thank you for your help, I'm not very talented...

Any chance you can link me to the page where it's not working?

I could give you the link of the page where it's not working (really thank you for your help sir) but I'm sure you don't nead. Honestly, my level is very low. I'm able to change the background color of the page content (by personnalize, color, content, background color) but I'm not able to do the same for one page using css. But I'm not desperate :-)

Perfect ! Thank you very much ! That's one small step for many people certainly but one giant leap for me :-) Thank you for your help sir, and have a good day. Of course, if one day you decide to travel in Paris, don't forget to send me an e-mail, or a css code ;-)

Just to close the post

Haha you are very welcome :)

Let us know if you need more help!

This archived topic is closed to new replies.