Site logo

Archived topic

disable background on specific page

7 replies · Started by sdanbu on May 7, 2017

Viewing posts 1–8 of 8

I like how GP can disable elements for specific pages, but I'm trying to disable a background but I can't.
I like having the background for other pages, so I tried going into customizer and the background is there for those pages, but is there a way to disable the background for content containers on a specific page?

Thanks

I was looking at this page and it tells me how to indicate an image for that page. Maybe I will try to make a white background.
https://generatepress.com/forums/topic/background-image-on-only-one-page/

Hi Scott,

You would have to use CSS.

First, use my Simple CSS plugin so you have the CSS meta box on that specific page: https://wordpress.org/plugins/simple-css/

Then you would have to target the element and remove the background - which element are you targeting? The body background? Content background?

I think It's the background of the body, because content background is white right now I think.

So you would add this into the Simple CSS meta box on that specific page:

body {
    background-image: none;
}

Actually I think I need to make the content background go away.

instead of :
body {
background-image: none;
}

I know I can do something in the section setting under background but is there any other way to address of all sections' content background using CSS?

Hi,

i use a global background image on my site and want to remove it from the post background of the wpglossary plugin. I have added a white background for the single.posts. but that is not possible with the glossary. i have already tried all possible css variations. nothing works. Either nothing happens or the background image is nowhere displayed.

What else can I do?

thx

Can you open a new topic for your question and link us to the page in question?

This topic is a bit old from 2017.

Thanks!

This archived topic is closed to new replies.