Background Image

Highlighted
New Member
2 0 1

Hi guys, I went ahead and added:

<style>
body {
background: url(https://cdn.shopify.com/s/files/1/0502/6414/6088/files/bois-de-grange-1.jpg?v=1604727405) no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
</style>

to my index.liquid code file on the Empire Theme. The background image works only on the homepage and I am trying to make it pretty much enabled everywhere except on the checkout page.

Please help me work this out! Thanks!

0 Likes
Highlighted
Excursionist
19 6 7

Go to the "theme.css" file under "Assets" folder. Paste it to the bottom of the file : 

 

body {
background: url(https://cdn.shopify.com/s/files/1/0502/6414/6088/files/bois-de-grange-1.jpg?v=1604727405) no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
}

 

You can them remove it from index.liquid ( homepage ).

0 Likes
Highlighted
New Member
1 0 0

 Thank you. It helps

0 Likes