How to make a specific collection list full width

Topic summary

Goal: Make only one Shopify “collection list” (a section showing a grid of collections) span full width, without affecting others.

Context: The requester shared the store URL (https://cozycollectivelb.com/) and a screenshot of the specific list (without a heading). Images/screenshots were central to identifying the target section.

Implemented fix: Add custom CSS targeting the exact section ID in theme.liquid.

  • Steps: Online Store > Themes > Edit code > theme.liquid, paste before :
    section#shopify-section-template–22333951279417__collection_list_yf9tqH .page-width { padding: unset !important; max-width: 100% !important; }
  • Result: Confirmed working by the requester.

Alternative approach: Add CSS in the main stylesheet (main.css/base.css/style.css/theme.css) to target the specific section/class and set max-width: 100% and padding: 0. A result screenshot was provided to demonstrate the effect.

Status: Resolved. The first CSS solution achieved the desired full-width layout for the single collection list; an additional stylesheet-based method was offered as an option.

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

Hello, i’d like to make a specific collection list full width, i tried a method that made all the collection lists full width, i need to make only 1!

1 Like

Hello @Thecozyliving

can you please share screenshot of the collection list which you want to make full width and also please share your store URL.

Hello, here’re our store link: https://cozycollectivelb.com/
this is the collection list that we need to make full width ( it doesn’t have a heading :disappointed_face:

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

section#shopify-section-template--22333951279417__collection_list_yf9tqH .page-width { padding: unset !important; max-width: 100% !important; }

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

1 Like

Thank you! That worked, much appreciated for the help.

I’m glad to help you :blush:

Hi @Thecozyliving

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

.section-template--22333951279417__collection_list_yf9tqH-padding {
    max-width: 100%;
    padding: 0;
}

And save.

result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!