Re: Need help taking away padding around the image with text overlay on my main webpage.

Solved

Need help taking away padding around the image with text overlay on my main webpage.

FrankieDean
Tourist
6 0 2

If you look on my main page, I have a few photos up. I used the image with text overlay, but didn't use the text feature. There is padding around each one. I was wondering if anyone could figure out what to do to take away the padding? We had someone customize our code and we can't figure it out that well.

 

Our website is https://frankie-dean.com

 

Thank you!

Accepted Solution (1)
namphan
Shopify Partner
1335 164 199

This is an accepted solution.

HI @FrankieDean,

Please change code:

.full-width-image .container {
    max-width: 100%;
    padding: 0 !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com

View solution in original post

Replies 8 (8)

BSSCommerce-HDL
Shopify Partner
2305 848 1065

Hi @FrankieDean 

 

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
    .slide:has(.img-cont) .container {
        padding: 0!important;
    }
</style>

 Here is result:

BSSCommerceHDL_0-1723689049526.png

Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

FrankieDean
Tourist
6 0 2

This didn't work. Thank you, though!

namphan
Shopify Partner
1335 164 199

Hi @FrankieDean,

Please go to Actions > Edit code > Assets > styles.scss.liquid file and paste this at the bottom of the file:

#shopify-section-text_image_overlay_nLVipz .container {
    max-width: 100%;
    padding: 0 !important;
}

 

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com
FrankieDean
Tourist
6 0 2

This worked for the first photo (the one where it says soothe secure sleep) but didn't work for the others. 

namphan
Shopify Partner
1335 164 199

This is an accepted solution.

HI @FrankieDean,

Please change code:

.full-width-image .container {
    max-width: 100%;
    padding: 0 !important;
}
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com
namphan
Shopify Partner
1335 164 199

Hi @FrankieDean,

If you have any questions, you can contact me directly.
Nice to meet you 😊

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com
FrankieDean
Tourist
6 0 2

Thank you so much! It worked! Would you be able to help with something else, too? I can't find in the code where the "Frankie Dean in the Media" section is and it's sooo very big and takes up half the main page. Each of those website icons contains a link to visit the sites we were featured on. I can't figure out where it even is. I want it to be way smaller and not take up so much space. Thank you!

namphan
Shopify Partner
1335 164 199

Hi @FrankieDean,

Can you send me a link or screenshot for this? I will check it

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? namphan992@gmail.com