Hi helpful friends ![]()
I have a website
I want every section to have the background color set to #f3f3f3
I have set it in as many places as possible such as header, rich text block, featured collection etc. but there are a number of sections which dont allow you to simply select (background-2) such as Slideshow, Page, Product Grid, Blog Posts.
I understand that I will need to edit the .css for these pages but when I have tried for instance to edit component-slideshow.css, I changed all occurences of (–color-foreground) to (–color-background-2) but to no avail.
Here are all the code blocks in component-slideshow.css with color being set in them
@media screen and (max-width: 749px) {
slideshow-component.page-width .slideshow__text {
border-right: var(–text-boxes-border-width) solid rgba(var(–color-foreground), var(–text-boxes-border-opacity));
border-left: var(–text-boxes-border-width) solid rgba(var(–color-foreground), var(–text-boxes-border-opacity));
}
.slideshow__controls {
border: 0.1rem solid rgba(var(–color-foreground), 0.08);
}
@media screen and (min-width: 750px) {
.slideshow__autoplay.slider-button {
position: inherit;
margin-left: 0.6rem;
padding: 0 0 0 0.6rem;
border-left: 0.1rem solid rgba(var(–color-foreground), 0.08);
}
}
.slideshow__autoplay path {
fill: rgba(var(–color-foreground), 0.75);
}
.slideshow__autoplay:hover path {
fill: rgb(var(–color-foreground));
}
I hoenstly thought I could just change all instances of foreground to background-2 (#f3f3f3) but it doesn’t give the expected (or any!) result.
Please will someone explain to me what I am misunderstanding and how to get the background color everywhere to be the same #f3f3f3? There doesn’t seem to be a single place where I can set this and have it reflected througout the site which is odd because I thought thats what .css files were all about!
Thanks ever so much for your help, friends
Chad