Making "Image with Text" section full width on Trade Theme

Topic summary

A user seeks to remove left and right padding from “Image with Text” and “Multi-Row” sections in Shopify’s Trade Theme to achieve full-width display.

Initial Solutions Provided:

  • Multiple contributors suggested adding CSS code to base.css targeting specific section classes
  • Code snippet: .section-template--15251938967607__.image_with_text_w9fTz-padding.page-width { max-width: 100% !important; }
  • This successfully resolved the issue for one specific section

Evolving Requirements:

  • User wants the fix applied globally to all “Image with Text” blocks across the entire website, not just one section
  • Also needs it to work for “Multi-Row” sections under “Project → Retail” pages

Current Challenge:

  • A broader CSS solution was attempted but unintentionally made the header and footer full-width as well
  • User needs code that targets only image-with-text components while preserving normal width for header/footer

Status: Ongoing troubleshooting to refine the CSS selector for site-wide application without affecting unwanted elements.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

I’m trying to make the “Image with Text” & “Multi-Row” section full width on Trade Theme, no matter what tweaks, there’s still a padding on the left and right side of the theme. Please help!

Shopify URL: https://65a186-44.myshopify.com/

Password: meerew

2 Likes

@letsgetwasted add code in base.css

.section-template--15251938967607__image_with_text_9w6Tfz-padding .page-width {
    max-width: 100% !important;
}

Hi @letsgetwasted

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.section-template--15251938967607__image_with_text_9w6Tfz-padding .page-width {
    max-width: 100%;
}

And save.

Result:

This is Noah from PageFly - Shopify Page Builder App

Hi @letsgetwasted Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag


Hope my solution will help you resolve the issue.

Best regards,

Noah | PageFly

1 Like

Thank you, this solved it!

Is there a way to also change it for “Multi-Row” sections?

Under my “Project → Retail” pages

Hi, I realised this changes it for this specific section only. However, I’d like this code to apply for all “image with text” blocks, is this possible and how could I change the code please?

Hi @letsgetwasted you can try this code. it will apply to the majority of sections. try it and please tell me if it affects the parts you don’t want applied.


Thank you.

Ack, sorry, this almost works but now the header and footer are also full width, which i don’t want. is there a way to just keep it to the “image-with-text” components? it’s ok if it’s across the entire website that has image with text blocks.