collection page and product page full width on desktop

Topic summary

A user is developing a Shopify site and wants to make collection and product pages full-width on desktop while maintaining minimal left/right spacing.

Two solutions were provided:

Solution 1 (Made4uo-Ribe):

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add media query targeting screens 749px+ that sets .collections .container to max-width: 100%
  • Includes screenshot showing the result

Solution 2 (DaisyVo):

  • Go to Shopify Admin → Online Store → Theme → Customize → Theme Settings → Custom CSS
  • Add media query for screens 1024px+ targeting .container with max-width: 100% and padding-inline: 10px (both using !important)
  • Also includes visual result

Both approaches use CSS media queries to override the default container width on desktop viewports. The discussion remains open with no confirmation from the original poster about which solution worked.

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

Developing a site heres a link

https://nmm0d3-1x.myshopify.com/collections/watches

is there a way on desktop to get the page full width with a little spacing on left and right?

thank you! everyone on here is amazing

1 Like

Hi @noliimitswag

TRy this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
@media only screen and (min-width: 749px){
.collections .container {
    max-width: 100%;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @noliimitswag

To complete your requests, please follow these steps:

  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.
media screen and (min-width: 1024px){
.container {
    max-width: 100% !important;
    padding-inline: 10px !important;
}
}

Here is the result:

I hope this helps

Best,

Daisy