LaurenJoy Posted October 23, 2020 Posted October 23, 2020 Site URL: https://www.laurentausend.com/ I'm trying to reduce the space between my product details pages and my header/footer. I'd rather not specify each section to reduce the margin and possibly code it in one go. Is that possible? Thanks
tcp13 Posted October 24, 2020 Posted October 24, 2020 (edited) Hi @LaurenJoy, Try adding this code within Design > Custom CSS: .products article.ProductItem{padding-bottom:0px;padding-top:50px;} @media only screen and (min-width: 769px) { .products article.ProductItem{margin-bottom:-200px;} } This should reduce the spacing for all your product pages in one go (and hopefully without affecting any other pages): Hope this helps! -Tyler P.S. - here's something extra if you want to remove that scrollbar on your product gallery 😉 .ProductItem-gallery-thumbnails{overflow-x:auto!important;} Edited October 24, 2020 by tcp13 The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
HG-Design Posted April 12, 2022 Posted April 12, 2022 (edited) Hi Hoping you can help with reducing the large padded area at the top of the store and products page please... Store: https://wvcharge.squarespace.com/waev-charge-store Example Product: https://https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1 /waev-charge-store/p/waev-charge-ev1 Images attached for reference. Edited April 13, 2022 by HG-Design
tcp13 Posted April 14, 2022 Posted April 14, 2022 (edited) Hi @HG-Design, You have an empty product navigation bar that's taking up some extra space on all your store pages. You can remove it by adding the following CSS from Design > Custom CSS: .ProductItem-nav { display: none !important; } If needed, you can shrink the page's padding a bit further by adding the following CSS and modifying the number value: .product-layout-side-by-side { padding-top: 2vw !important; } Hope this helps! -Tyler Edited April 14, 2022 by tcp13 The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
HG-Design Posted April 14, 2022 Posted April 14, 2022 Thank you Tyler, that's work perfectly on the individual products page however there is still quite bit of padding above the image on the store (products gallery) page. Is there a way to reduce this slightly?
tcp13 Posted April 15, 2022 Posted April 15, 2022 On 4/14/2022 at 2:40 AM, HG-Design said: there is still quite bit of padding above the image on the store (products gallery) page. Is there a way to reduce this slightly? Looks pretty good as is on my screen, but you could tweak it further with this code: .page-section[data-section-id="625726cc3a16c8026eec4ae7"] { padding-top: 70px !important; } Hope this helps! -Tyler The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
HG-Design Posted April 15, 2022 Posted April 15, 2022 3 hours ago, tcp13 said: Looks pretty good as is on my screen, but you could tweak it further with this code: .page-section[data-section-id="625726cc3a16c8026eec4ae7"] { padding-top: 70px !important; } Hope this helps! -Tyler Thank you Tyler and apologies I was not clear but the padding I am trying to reduce is from the image to the first line of text as per the attachment. I have updated your code to the photo block ID but it doesn't seem to work.
tcp13 Posted April 16, 2022 Posted April 16, 2022 (edited) On 4/15/2022 at 2:00 PM, HG-Design said: the padding I am trying to reduce is from the image to the first line of text as per the attachment. Ah. Try this then: .page-section[data-section-id="625726cc3a16c8026eec4ae7"] .content-wrapper { padding-bottom: 0px !important; } Otherwise, you can try cropping the image. The remaining space is just transparency from the png. Edited April 16, 2022 by tcp13 creedon 1 The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
HG-Design Posted April 18, 2022 Posted April 18, 2022 Thank you @tcp13, that has worked perfectly! tcp13 1
Phiso Posted April 27, 2022 Posted April 27, 2022 (edited) Hi @tcp13, I am trying to reduce the space between header and first section on every pages How can I do that? Thanks! Sophie Edited April 27, 2022 by Phiso
tcp13 Posted April 27, 2022 Posted April 27, 2022 @Phiso, can you share a link to your site? The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
Phiso Posted April 28, 2022 Posted April 28, 2022 Hi @tcp13 Thanks! my site is still in the very early stages: https://accordion-dogfish-8dex.squarespace.com/accueil
tcp13 Posted April 28, 2022 Posted April 28, 2022 @Phiso - you'll also need to make the site "public" or "password protected" from Settings > Site Availability. Otherwise, we still can't access the "private" site to take a look at your header spacing 🙂 The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
tcp13 Posted April 28, 2022 Posted April 28, 2022 On 4/27/2022 at 7:07 AM, Phiso said: I am trying to reduce the space between header and first section on every pages @Phiso - try adding this at Design > Custom CSS: .page-section:first-of-type .content-wrapper{padding-top:3vmax!important;} You can increase or decrease the "3" value to your liking. Hope this helps! -Tyler The above post may be outdated. I’m no longer active in the Squarespace ecosystem, so I won’t see your direct messages. For better resources about web accessibility, I’ve documented some of my thoughts on my forum profile.
Phiso Posted April 29, 2022 Posted April 29, 2022 @tcp13 Thanks a lot Tyler! This is amazing! You are wonderful! tcp13 1
sarah7 Posted June 1, 2022 Posted June 1, 2022 Hi. I'm trying to reduce space between the search box and the product navigation on this page: http://shreckhise.squarespace.com/products Anyone have a code? Thanks!
tuanphan Posted June 2, 2022 Posted June 2, 2022 10 hours ago, sarah7 said: Hi. I'm trying to reduce space between the search box and the product navigation on this page: http://shreckhise.squarespace.com/products Anyone have a code? Thanks! Add to Design > Custom CSS /* Search box - navigation */ section.products.collection-content-wrapper.products-list { padding-top: 0px; } ul.nested-category-children { padding-top: 0px !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!)
badcrc Posted February 21, 2023 Posted February 21, 2023 None of the code here worked for me to ADD space between the header and product details (SS 7.1). @tcp13 gave me the following css and it worked. .pdp-gallery{ margin-top: 80px !important; }
kimkim Posted August 16, 2023 Posted August 16, 2023 Anyone still here? I'm trying to do the same as the original question here: remove the large space between the header and the products here: https://www.kimberlyessex.com/audio-library Additionally, I'm wondering if there is any way to adjust font sizes on this page? The category font seems strangely small (I'd like to make that larger) and the product title font seems strangely large (I'd like to make that smaller.
tuanphan Posted August 19, 2023 Posted August 19, 2023 On 8/16/2023 at 4:07 PM, kimkim said: Anyone still here? I'm trying to do the same as the original question here: remove the large space between the header and the products here: https://www.kimberlyessex.com/audio-library Additionally, I'm wondering if there is any way to adjust font sizes on this page? The category font seems strangely small (I'd like to make that larger) and the product title font seems strangely large (I'd like to make that smaller. It is fine to me. Which space are you referring to? 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!)
kimkim Posted August 20, 2023 Posted August 20, 2023 On 8/19/2023 at 3:11 AM, tuanphan said: It is fine to me. Which space are you referring to? Oh, so sorry. When I didn't get an answer I made a new post and received a solution at the link below. So sorry for not updating. Thank you for asking. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment