Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Blockshop Theme - Change footer background image

Solved

Blockshop Theme - Change footer background image

jakemattingley
Tourist
9 0 1

Hey!  I want to change my footer background so it isn't a straight line, similar to the image below.  I have the shape/image ready to go. any idea what code is needed and where it needs to be placed in order to change the footer background for Blockshop theme?

 

Thank you

Screenshot 2024-11-04 at 6.19.22 PM.png

 

 

Jake Mattingley
Accepted Solution (1)
namphan
Shopify Partner
1932 251 279

This is an accepted solution.

Hi @jakemattingley,

Please add code:

@media only screen and (min-width:768px) {
.section--footer {
    margin-top: 250px;
}
.section--footer:before {
    top: -250px;
    height: 20rem;
}
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

View solution in original post

Replies 12 (12)

namphan
Shopify Partner
1932 251 279

Hi @jakemattingley,

You can follow the instructions, it will display fine.

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
jakemattingley
Tourist
9 0 1

Hey thanks for replying.

 

I tried the code in a few spots but didn't get any results.

 

"Actions > Edit code > Assets > base.css "

"Actions > Edit code > Assets > section-footer.css file"

 

I don't see either of these options under my edit code sections..

 

can you tell me where to paste the code?

Jake Mattingley
namphan
Shopify Partner
1932 251 279

Hi @jakemattingley,

Please send the website link, I will check it for you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
jakemattingley
Tourist
9 0 1

www.vision-bored.com

Jake Mattingley
namphan
Shopify Partner
1932 251 279

Hi @jakemattingley,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

 

.section--footer{
    position: relative;
    margin-top: 50px;
}
.section--footer:before {
    content: '';
    position: absolute;
    top: -50px;
    width: 100%;
    height: 6rem;
    left: 0;
    background: var(--bg-color--dark);
    background-image: url(link file) !important;
    background-color: #fff !important;
    background-position: top center !important;
    background-size: cover;
}

 

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
jakemattingley
Tourist
9 0 1

Great!  looks like its working for mobile, but not working for full screen.  Maybe I can size the .png differently? any size tips to make this work?Screenshot 2024-11-04 at 8.13.46 PM.pngScreenshot 2024-11-04 at 8.13.58 PM.png

Jake Mattingley
namphan
Shopify Partner
1932 251 279

This is an accepted solution.

Hi @jakemattingley,

Please add code:

@media only screen and (min-width:768px) {
.section--footer {
    margin-top: 250px;
}
.section--footer:before {
    top: -250px;
    height: 20rem;
}
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
jakemattingley
Tourist
9 0 1

This worked. Thanks!

Jake Mattingley
namphan
Shopify Partner
1932 251 279

Hi @jakemattingley,

You're welcome and happy to help you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

DaisyVo
Shopify Partner
902 112 129

Hi @jakemattingley ,

 

You can follow the steps here: 

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for Step 3: 

 

 

footer.section--footer .footer--root {
    background-image: url("image-link");
}

 

 

Here is the result:

DaisyVo_0-1730775160619.png

 

Please let me know if it works!

 

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
jakemattingley
Tourist
9 0 1

Hey thanks for replying!

 

Unfortunately I do not see any changed on the footer 

Jake Mattingley
DaisyVo
Shopify Partner
902 112 129

Hi @jakemattingley ,

 

May  I ask for your store URL to check further?

 

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