Editing The Margins & Padding Of A Section?

Highlighted
New Member
15 0 0

I have created an alternate Shopify section which is a copy of 'custom content' which is called 'custom-content2' the difrence between the two sections is that one will have different margins & padding which i want to set myself. I have tried adding this code into the theme.scss.liquid:

.custom-content2{
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

But that didn't seem to change the padding. Have i done this right? Or is their any other way of changing the padding & margins of the new custom-content2 section 

0 Likes