Need help with a code to remove padding from all pages but keep padding for header/footer

New Member
4 0 0

Hi Shopify Community,

I am using Debut theme, and I found a code on how to remove the left/right padding for all pages. This is the code I used below in the theme.scss.liquid:


.page-width {max-width: 1400px !important; padding-left: 0px !important; padding-right: 0px !important;}


The problem is that I don't want the left and right side padding removed from the header and footer sections. I only want the left and right padding removed from all of my pages.

Can someone please help me with this?

Thank you!