Align header of multi-column with main content on mobile

Topic summary

A user seeks to align multi-column section headers with main content on mobile view across their entire Shopify site.

Problem: The header text in multi-column sections doesn’t align properly with content blocks on mobile devices (see attached screenshot).

Solutions Provided:
Three community members offered CSS-based fixes with similar approaches:

  • Option 1: Add CSS to theme.liquid file above </head> tag targeting .multicolumn .title-wrapper-with-link with left margin adjustment
  • Option 2: Modify section-multicolumn.css file directly by adding margin rules at the end
  • Option 3: Insert CSS before </body> tag in theme.liquid with !important flag for margin-left

All solutions use media queries (max-width: 749px) to apply 2.5rem left/right margins specifically on mobile viewports.

Note: Some code snippets appear corrupted or reversed in the original posts, but the core approach involves adding CSS margin adjustments to the .multicolumn .title-wrapper-with-link selector for mobile screens.

Status: Multiple solutions offered; awaiting user confirmation on which approach worked.

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

Hi!

How can I ensure that the header text of multi-column aligns with the main content on mobile view? would like this for all multi-columns across my site, not just this specific section.

thank you!

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

Password: meerew

Hi @letsgetwasted ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Find file theme.liquid
Step 3: Insert this code above tag:

@media only screen and (max-width: 749px) {
    .multicolumn .title-wrapper-with-link {
        margin-left: 2.5rem;
    }
}

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 @letsgetwasted

Hope you are doing well.

To align the header of multi-column section with the blocks, you just need to follow below steps;

  1. Go to admin > Online store > Edit code.

  2. In the code directory, find the file named “section-multicolumn.css”.

  3. Open the file and scroll down at the end of the file.

  4. Copy the below mentioned code and paste it at the end of the file.

.title-wrapper-with-link.multicolumn__title {
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}
  1. Don’t forget to save the file.

Hope this code works for your issue and fix it.

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Hello @letsgetwasted

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (max-width: 749px) { .multicolumn .title-wrapper-with-link { margin-left: 24px !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.