I’ve looked through everything and can’t get the code to work. I have set the background for this site transparent but I need the blog index and blog posts to have a white background. https://champagnepediatricdentistry.com.
Hi @philahudson,
Thank you for reaching out to us. Try adding the following code in the Theme Options > CSS:
.single .x-container.max.width,
.blog .x-container.max.width,
.archive .x-container.max.width {
background: #fff;
margin: 0;
width: 100%;
padding: 40px;
}
If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.
I recommend you to watch following video that will help you to get started with CSS.
Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.
https://developers.google.com/web/tools/chrome-devtools/css/
Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!
Thanks for the fix. That worked.
I’ll look through the resources you provided, however my understanding of CSS did not help me accomplish the task this time. I feel it’s far more complex than the normal CSS I use on a daily basis to make these type of updates. Either way, you nailed the fix. Thanks.
You’re more than welcome, glad we could help.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.