Ethos Theme - Post Background Color Change

Hey guys, I have read in a few other posts that the Ethos theme portfolio and post comes with a white background default,

I have applied some code you have written for me and fixed the portfolio background color, however, my posts aren’t working.
I am using an image background in all posts, but there is a white bkg that displays before the image loads, i need to fix that.
Also want this page to the black or to have an image instead of a white bkg.

https://sixsenserecords.com/news/

Hi @LucyKeile,

Thanks for writing in!

By default, the Ethos theme has this built-in styling using this CSS code:

.x-container.main:not(.x-row):not(.x-grid):before {
    background-color: #fff;
}

Feel free to change the background color of the code above and add it in your X > Theme Options > Custom CSS.

Be advised that you will be the one to maintain this code. It is better that after every theme and plugin updates, kindly check if the code created an issue or conflicts.

Best Regards.

1 Like

That works perfectly - just so that I understand correctly - every time the theme updates or plugins I need to check all the code I added into the CSS ?

Hey @LucyKeile,

After the theme or plugin update you only need to check if the custom CSS conflicts with the theme update because sometimes the structure or the selector changes with a major update. So after the theme/plugin update if your custom CSS stops working you need to update the code with the right selectors.

Here are some related links for further reading, this could help you in finding and implementing some CSS fixes:

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.