background picture to store

Solved

background picture to store

BDPK
Excursionist
40 0 2

hi there i have a store a applied picture background background is visible on mobile but its not showing on desktop my url is https://sundip1.myshopify.com/

Accepted Solution (1)
Tech_Coding
Shopify Partner
501 127 125

This is an accepted solution.

remove above code and add below code

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
body#sundip1 {
background-image: url(https://cdn.shopify.com/s/files/1/0909/7229/1354/files/Untitled_design_10_1.png?v=1733295500) !important;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
</style>
RESULT:

Tech_Coding_0-1734954664466.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 4 (4)

Tech_Coding
Shopify Partner
501 127 125

Hello @BDPK 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  body{
     background-image: url('your-image-url.jpg') !important; /* Replace with your image URL */
     background-size: cover;
     background-position: center; 
     background-repeat: no-repeat;
   }
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
BDPK
Excursionist
40 0 2

on refreshin background just flick and vanished away

Tech_Coding
Shopify Partner
501 127 125

This is an accepted solution.

remove above code and add below code

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
body#sundip1 {
background-image: url(https://cdn.shopify.com/s/files/1/0909/7229/1354/files/Untitled_design_10_1.png?v=1733295500) !important;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
</style>
RESULT:

Tech_Coding_0-1734954664466.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

DaisyVo
Shopify Partner
2475 316 364

HI @BDPK 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

div#PageContainer {
    background:  background: url("https://cdn.shopify.com/s/files/1/0909/7229/1354/files/Untitled_design_10_1.png?v=1733295500") center;
    background-size: contain;
}

 

Here is the result: https://prnt.sc/w2H0stHp2ocu
 
Please change the URL with the image link that you want
 
Best,
 
Daisy

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution