Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Same CSS margin setting but display differently


Recommended Posts

Site URL: https://humbeeshop.squarespace.com/

Home page: https://humbeeshop.squarespace.com/
Product page: https://humbeeshop.squarespace.com/shop/hand-sanitizer-disinfectant-gel-169oz50ml-packs-of-61224
PW: 2020

Hi I am wondering why above two page display different margin width? I checked the CSS style and they are all "auto 0" and with padding 4vw. But you can see the actual margin width differs a lot.

How can I adjust the product to be as same as the homepage margin?

Edited by Claireacomdata
Link to post
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Add to Homepage Settings > Advanced > Header <style> @media screen and (min-width:768px) { section.products.collection-content-wrapper { max-width: 100% !important; padding

Posted Images

Add to Homepage Settings > Advanced > Header

<style>
  @media screen and (min-width:768px) {
  section.products.collection-content-wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
  #page section .content-wrapper {
    max-width: 1280px;
    padding-left: 4vw;
    padding-right: 4vw;
    margin: 0 auto;
}
  }
</style>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I'm seriously sick. Off some time.

Link to post
 @media screen and (min-width:768px) {
  section.products.collection-content-wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
  #page section .content-wrapper {
    max-width: 1280px;
    padding-left: 4vw;
    padding-right: 4vw;
    margin: 0 auto;
}
[data-section-id="5ee28a67e42f6179b8d9ebd4"] .content-wrapper {
    padding: 0 !important;
    max-width: 100% !important;
}
  }

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- I'm seriously sick. Off some time.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...