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

Topic summary

Main issue: remove unwanted padding around homepage “image with text overlay” sections after prior theme customizations.

Key attempts and fixes:

  • Initial CSS targeting a specific section ID in Assets > styles.scss.liquid did not remove padding site‑wide.
  • Working fix: add to the stylesheet:
    .full-width-image .container { max-width: 100%; padding: 0 !important; }
    This removed padding for all relevant images, not just the first block.
  • Another suggestion was to insert custom code in theme.liquid before , with a screenshot provided to illustrate the result (details of that code were not included in the thread).

Outcome: Padding issue resolved using the generic .full-width-image .container CSS.

New request: Reduce the size of the “Frankie Dean in the Media” section (a block of linked media logos) which currently occupies a large portion of the homepage. The poster cannot locate its code in the theme.

Next steps: Helper requested a link or screenshot of that section to identify its source and provide specific adjustments. Discussion remains open pending more details.

Summarized with AI on December 22. AI used: gpt-5.

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