How to make a section full width?

Topic summary

A user seeks to make their Shopify product page section display at full width instead of the current constrained layout.

Solutions Provided:

  • Moeed’s approach: Add custom CSS code to the theme.liquid file, placing it above the </body> tag to remove page width constraints.

  • DaisyVo’s approach: Insert CSS code into the base.css file targeting the .page-width:has(.product) selector with padding-left: 0 !important;

Both solutions involve editing theme code files and adding CSS to override default width/padding settings. The original poster acknowledged all responses positively, though no specific solution was marked as resolved. Screenshots were shared showing the current constrained layout versus the desired full-width result.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hello guys how can I adjust this section to be in full Width. The first image is my product page. I want to adjust this product page to the 2nd image (full width).

my product.

1 Like

Hey @NikosBat

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @NikosBat

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

.page-width:has(.product) {
    padding-left: 0 !important;
}

Result

Best,

DaisyVo

1 Like

Thanks for you answer Paulrainstorm, I appreciate it!

Thanks for your help Operyemi0012, I appreciate it.

Thanks for your answer DaisyVo, I appreciate it.

Hello Moeed and thanks for your answer, I appreciate it.

1 Like

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

1 Like