Claireacomdata Posted June 12, 2020 Share Posted June 12, 2020 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-61224PW: 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? Link to comment
tuanphan Posted June 13, 2020 Share Posted June 13, 2020 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> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Claireacomdata Posted June 13, 2020 Author Share Posted June 13, 2020 @tuanphan Thank you! it worked greatly! Link to comment
Claireacomdata Posted June 13, 2020 Author Share Posted June 13, 2020 @tuanphan Oh I just found this code will change the full-bleed gallery too 😞 Could you help fix it? (the gallery is right in the homepage bottom) Link to comment
tuanphan Posted June 14, 2020 Share Posted June 14, 2020 @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; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Claireacomdata Posted June 15, 2020 Author Share Posted June 15, 2020 Thank you so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.