dcleal Posted March 28, 2022 Share Posted March 28, 2022 (edited) Site URL: https://star-vuvuzela-dpds.squarespace.com/store/p/one-year-fine-furniture Hi We have a problem with a space between our site's main menu and the beginning of page contents for some, but not all, of our pages. This includes product pages. I thought I'd tracked this down (at least for the product pages) to an unnecessary padding-top on the outermost section element within the article element, and wrote a little javascript in the footer script to set the padding-top to just 1px. Sadly, some other code runs later that sets the padding-top back to a larger number. You can see this as the page loads - the content moves up briefly and then down again. Any ideas? Any explanation of what Squarespace is up to would be gratefully appreciated. The offending product page can be seen at https://star-vuvuzela-dpds.squarespace.com/store/p/one-year-fine-furniture (password = 'zinc') Thanks in advance for any help with this! - Dave Edited March 28, 2022 by dcleal Link to comment
dcleal Posted March 28, 2022 Author Share Posted March 28, 2022 Never mind. It's dawned on me that another "small" CSS tweak was having a much wider than anticipated effect. Nothing to see here.... - Dave tuanphan 1 Link to comment
tuanphan Posted March 30, 2022 Share Posted March 30, 2022 Did you solve or still need help? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment