Remove page-width on certain sections. DEBUT

Highlighted
New Member
10 0 0

Hi there i am trying to create some code that when i use it is removes the page-width. This is what i have tried:

.no-page-width {
  padding-left: 0px;
  padding-right: 0px;
  max-width: 100%;
  
  @include media-query($small) {
    padding-left: 0px;
    padding-right: 0px;
  }
}

^ Which is all the opposite code to the "page-width" tag. I then wrap the element in this div: <div class="no-page-width"></div>. But for some reason that doesn't change the width of the section, it still follows the page width code.

How can i achieve this? Thanks

 

0 Likes
Highlighted
Astronaut
1084 177 213

Hello,

Thank you for your question. 

Please share your store URL, page URL and also password (if your store has one) so we can help you.

Kind regards,
Diego

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Hire me! Recommended by 25+ customers on Facebook. Click here to read their reviews.
◦ Contact me at: diego.boarutto.fortes@gmail.com
0 Likes