Site logo

Archived topic

Deleting content background-color for a single page

3 replies · Started by Erika on August 18, 2020

Viewing posts 1–4 of 4

Hi there,
I struggle with deleting the background-color of the content-container for a single page.
If I set the background color to transparent in the customizer, then of course it sets the background transparent on all pages. I would like to set the background for the content only on the first page.
I tried this in the additional CSS (ans several others...):
.page-id-99 #content .site-content {
background-color:rgba(255,255,255,0);
}
I also tried background-color:none;
But it makes no changes :( What do I miss here?
Thanks, Erika

Hi there,

try this CSS:

.home.one-container .container {
    background-color: rgba(255,255,255,0);
}

Hi David,

absolutely fantastic, I would not have found this ;)

Thanks! Erika

Glad to be of help

This archived topic is closed to new replies.