Why can't I add background images via CSS anymore?

Why can't I add background images via CSS anymore?

Shopify Partner
4 0 0

I'm not able to add background images via css to shopify anymore. I use to do it like this, but its no longer working:


.use-alt-bg {
background-image: url("https://cdn.shopify.com/s/files/1/0373/5420/9339/files/thin-banner.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;


In the inspector, I see the following attached. 



When I add that, 

Replies 2 (2)

Shopify Partner
15984 2392 3099

@Ruben__Nunez ,

Please share the store URL...

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free

Shopify Partner
5625 1261 1232

Hi @Ruben__Nunez,


It's the GemPages Support Team and we are glad to assist you today!


Could you please share your store URL ( with the password if your store password is enabled ) then I can see and suggest something for you?


Best regards,
GemPages Support Team


GemPages - Build any high-converting store pages for any business

- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center