Remove Right And Left Padding On Product Grid Using Dawn Theme

Solved

Remove Right And Left Padding On Product Grid Using Dawn Theme

EastsideMelrose
Excursionist
19 0 5

I'm trying to remove the side padding in the picture below, so that the images are tight to the side of the screen.1.jpg

Accepted Solution (1)
Vinsinfo
Shopify Partner
397 139 134

This is an accepted solution.

@EastsideMelrose Thanks for providing the screenshot for reference. Based on the screenshot you have provided, you want to remove all the space on the sides of the product grid container. Please follow the below steps to reduce the space on the sides. Let me know whether it is helpful for you.

 
Add the below CSS code in the base.css file at the bottom of the file. You can increase or reduce the space on the sides if you need.

 

.collection.page-width {
    padding: 0px;
}

 

Final results will be like,
Vinsinfo_2-1724077212751.png

 

 

FYI: Above code will only reduce the side spacing of filter section. If you want to reduce the space for the filter section too, then add the below provided code.

 

.collection.page-width, #main-collection-filters {
    padding: 0px;
}

 

Final results will be like,
Vinsinfo_3-1724077287603.png

 


 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support

View solution in original post

Replies 8 (8)

Numinix
Visitor
1 0 0

Hey EastsideMelrose, 

 

Are you able to edit the theme code?

goldi1
Excursionist
108 10 23

Hello @EastsideMelrose 

can you send the Website Url.

so i can fix your problem Thanks 

 

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Whatsapp Me : here

Vinsinfo
Shopify Partner
397 139 134

@EastsideMelrosePlease follow the below steps to remove right and left padding on product grid in dawn theme. Let me know whether it is helpful for you.

 
1. From admin, Go to "Online Store" -> "Themes".
2. Click "Customize" button in the current theme.
3. Go to the collection page.

4. Locate and click "Product grid" like in the below attached screenshot to edit.

Vinsinfo_2-1723881102270.png

 

5. Search for the "Theme Settings" section and find the "Page width" option below the "Theme Settings" section like in the below attached screenshot. Modify the value of the page width to reduce the right and left padding on product grid.
Vinsinfo_3-1723881109661.png

 

FYI: If this this doesn't help you. Kindly share your store URL to check this further to help you on this.
 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
EastsideMelrose
Excursionist
19 0 5

Hi Vinsinfo, 

 

It definitely made it better, but there's still some space on the sides.

 

URL: https://www.eastsidemelrose.com/

Password: opensesame

 

Thanks

Vinsinfo
Shopify Partner
397 139 134

@EastsideMelrose Happy to hear that our previous solution has worked for you. If you still want to reduce some space on the sides, we need to add custom code to reduce the space. Please follow the below steps to reduce the space and let me know whether it is helpful for you.

 
1. From admin, go to "Online Store" -> "Themes".
2. Click action button from the current theme and select "Edit code" like in the below attached screenshot.
Vinsinfo_0-1724049368706.png
3. Add the below CSS code in the base.css file at the bottom of the file like in the below attached screenshot. You can adjust the max-width rem value as per your need.

 

.page-width {
    max-width: 180rem;
}

 

Vinsinfo_1-1724049383108.png

 

Now, it will be updated like below,
Vinsinfo_2-1724049447338.png

 

Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
EastsideMelrose
Excursionist
19 0 5

I added the code, and adjusting the "rem" number only allowed me to add more padding. I changed it to 250 rem and it didn't remove anymore padding. This is the look I want.

Screenshot 2024-08-19 at 7.53.12 AM.png

 

Vinsinfo
Shopify Partner
397 139 134

This is an accepted solution.

@EastsideMelrose Thanks for providing the screenshot for reference. Based on the screenshot you have provided, you want to remove all the space on the sides of the product grid container. Please follow the below steps to reduce the space on the sides. Let me know whether it is helpful for you.

 
Add the below CSS code in the base.css file at the bottom of the file. You can increase or reduce the space on the sides if you need.

 

.collection.page-width {
    padding: 0px;
}

 

Final results will be like,
Vinsinfo_2-1724077212751.png

 

 

FYI: Above code will only reduce the side spacing of filter section. If you want to reduce the space for the filter section too, then add the below provided code.

 

.collection.page-width, #main-collection-filters {
    padding: 0px;
}

 

Final results will be like,
Vinsinfo_3-1724077287603.png

 


 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
EastsideMelrose
Excursionist
19 0 5

That works, thanks for all the help!