A light brown background color appears behind the image. I want it to be just plain white, how do I do that?
site: https://bagsinthecitymanila.com/ (faqs)
A user is experiencing an unwanted light brown background color appearing behind their image banner on their Shopify storeβs FAQ page. They want it to display as plain white instead.
Initial diagnosis: The first responder suggested the issue was white space in the image itself and recommended cropping and re-uploading.
Problem persists: After replacing the image without white space, the light brown background remained visible.
CSS solutions provided: Three community members offered CSS code fixes:
.media{background-color: #fff;} to base.css.banner__media.media { background: transparent !important; } via Theme settings > Custom CSS.banner__media.media { background: #fff; } to base.cssAll solutions target the .banner__media.media class and involve adding CSS code to either the base.css file or the Custom CSS section in theme settings. One responder confirmed their solution worked with a screenshot showing the corrected result.
A light brown background color appears behind the image. I want it to be just plain white, how do I do that?
site: https://bagsinthecitymanila.com/ (faqs)
Hello @tinee the image has white space. Please crop the image and re-upload it; the space will automatically be removed.
Hello! I tried replacing the image with no white space. But it still shows the light brown background color behind the image.
@tinee please add this css to the very end of your base.css file and check,
Shopify Admin β Online Store ->Theme β Edit code β base.css
.media{background-color: #fff;}
Hi @tinee ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.banner__media.media {
background: transparent !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
Hello @tinee
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.
.banner__media.media {
background: #fff;
}