Custom Background Image

New Member
46 0 0

I need help making my Home Pages Background a candy cane where its reaccuring like Kylie Jenners Cosmetics website. Thanks! Happy holidays.

0 Likes
New Member
38 0 0

Hi Garland,
Expert Shopify developer here.

Would love to help you for this. Let's discuss this.

Best Regards,
Anjani (anjani.s@wmsindia.com)

0 Likes
New Member
46 0 0

Bump. Can someone please help

 

0 Likes
Shopify Expert
9807 92 1560

Adding a background image is a simple change. You'll need to add some custom CSS, and since your store is live be sure to test things in a theme copy (and not the live theme).

This code can add a background image assuming you've uploaded the image to your asset folder and that the CSS file ends in .liquid.

body {
    background: url({{ 'some-image.jpg' | asset_url }});
}

If you're still stuck, post back.

You may find that you don't like the look of the site with a backgroud image, but this is something you can test in that theme copy.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
New Member
46 0 0

I added that code to the bottom of Themes.scss.liquid and changed 'some-image.jpg' to 'hero.jpeg'. My picture is named "hero.jpeg" in my online shopify folder. Nothing changed

 

0 Likes
New Member
4 0 0

Did you get it working? I know you tried 2 years back ;)

0 Likes