How can I add a background image to the footer in Craft theme?

Danir84
New Member
9 0 0

Hello, I am customizing Craft theme and I would like to add a background image only to the footer. My current theme (Dawn) has a background to the footer but I am not anymore in contact with the person that did it for me. Can you help me? Thank you!

Replies 3 (3)

PageFly-Oliver
Astronaut
840 177 158

Hi @Danir84 ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#shopify-section-footer footer{
backgroun-image:url('link of the image')
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Danir84
New Member
9 0 0

thanks, i'm going to try it. where do i host the image? thanks

Danir84
New Member
9 0 0

It didn't work. 😞