I'm attempting to put a custom background on my website, but I can't get the code to work

Hello,

I need help with posting a certain picture as the background across my entire website. My store Name is House Of Packss and the photo is uploaded as HOP2. I have searched in forums here, tried the codes posted, and inserted my own URL for the image. However, I am still stuck with the gradient background from Shopify.

Hi @HouseOfP ,

This is Victor from PageFly - Shopify Page Builder App.

In case you want to change the background image for the whole website, you should use the code like this.

html,body {
background-image: url(your img goes here)
}

You can put the code in your theme CSS file ( base.css or theme.css )

Hope this can help you solve the issue.

Best regards,

Victor | PageFly

Thank you Victor, I used the code in the body and I was unable to see the picture in the background.

Could you provide further guidance?

Hi @HouseOfP again, this might be because your theme has special structures and it is overridden by the changes you made.

For more precise solution, please help me by sending me your store URL and password if password-protected, and I will give you the code here.

Thank you!

Victore | PageFly