New Shopify Certification now available: Liquid Storefronts for Theme Developers

How do i put Footer-Background Image at Spotlight Theme

Solved
RobArt98
Explorer
86 3 14

Hello everyone,

 

currently im struggling with a function which i want to implement.

I searched around the community and found following code, which is not working for me (spotlight theme)

 

"footer.site-footer {

background-image: url('path/to/your/image.jpg');

background-repeat: no-repeat;

background-size: cover; }

 

Does anyone have an idea how to put an image on the footer?

 

Thanks in advance.

Accepted Solution (1)
RobArt98
Explorer
86 3 14

This is an accepted solution.

Thanks for the Information. I just found a solution, which is currently working.

 

section-footer.css on the top of the code.

 

.footer {
border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
background-image: url("....");
background-repeat: no-repeat;
background-size: cover;

View solution in original post

Replies 3 (3)
Moeed
Shopify Partner
3051 761 925

Hey @RobArt98 

 

Could you please provide your Store URL and, if applicable, the Password too? Also, share the URL of the image too. Your cooperation is greatly appreciated! 

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Made4uo-Ribe
Shopify Partner
4235 979 1193

Hi @RobArt98 

You need to make sure that is the right selector to use in your theme. 

Try this one, i just get it from the demo store. 

footer.footer.color-background-1.gradient.section-sections--15939470360632__footer-padding {
background-image: url('path/to/your/image.jpg');
background-repeat: no-repeat;
background-size: cover;
}

And Save. 

If still not working would you mind to share your store URL website? Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


RobArt98
Explorer
86 3 14

This is an accepted solution.

Thanks for the Information. I just found a solution, which is currently working.

 

section-footer.css on the top of the code.

 

.footer {
border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
background-image: url("....");
background-repeat: no-repeat;
background-size: cover;