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

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!

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 tag:


Here is result:

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 :heart_eyes:

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;
}

This didn’t work. Thank you, though!

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

HI @FrankieDean ,

Please change code:

.full-width-image .container {
    max-width: 100%;
    padding: 0 !important;
}
1 Like

Hi @FrankieDean ,

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

1 Like

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!

Hi @FrankieDean ,

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