.post color is set fixed to white. How to change it?

Posted in: Newspaper
Post count: 97

I am setting the page background to lightblue, using css
{body:background-color:lightblue !important}
which works great but only the header shows up in that color.

The maincontent has a white background. I checked each row and none has a background assigned,
so the page background should shine through.

In Developer Tools I found the offending css code:
.post {background-color:#fff}

Where is this set and how can I change it to NOT have a background color?

I tried .post {background-color:green !important} in the CSS code, just to try first how I could override it but that didn’t do anything.

Post count: 97

Actually, I also see it on .td-container-wrap and .td-main-content-wrap …

Post count: 97

I found a solution so I’ll share it with the community.


:root {
--color-page-bg: lightblue;
}

body, .td-post-category {
background-color: var(--color-page-bg)
}

.post, .td-main-content-wrap, .td-category-grid, .td-container-wrap {
background-color: transparent !important;
}

In this example I’ve set the background in the CSS to be lightblue.
Then I removed the fixed colors in the theme for the 4 elements that have them defined.

Post count: 97

[SOLVED]

Post count: 27744

Hi,

Maybe you can try to set the color for the zone in the tab css, using tagDiv Composer.

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.