Shopify themes, liquid, logos, and UX
Hi @tanibuy
Can you please explain more what your problem is? Do you mean you like to remove the background image on ther collection product?
I added a background image to the site, but the background image also appeared on the category buttons and the product background.
Would you mind to share your store URL? Thanks!
Like this.
Thanks for the info, please check the code I have here and compare to your code in the base.css.
.gradient:not(.card--media.color-scheme-5.gradient) {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(/cdn/shop/files/EUROPEAN_CHAMPIONSHIP_2024_2.png?v=1717302554) !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: cover !important;
}
.card--media.color-scheme-5.gradient {
background: transparent;
}
And Save.
I add some codes so it wont affect the product background.
result:
Can we make it white instead of transparent?
Yeah, but you have white text. you like to change into black?
Remove the last code,. change into this one. The default color of the product grid background is white.
.gradient:not(.card--media.color-scheme-5.gradient) {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(/cdn/shop/files/EUROPEAN_CHAMPIONSHIP_2024_2.png?v=1717302554) !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: cover !important;
}
.card__information * {
color: black;
}
And Save.
Category tab still has the same background image, plus the transparency of the middle button is gone
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025