bellef22 Posted December 15, 2020 Share Posted December 15, 2020 Site URL: https://seal-olive-mnwz.squarespace.com/ I noticed that the first section below my header on my Barbosa themed template gets overlapped by the header and I was wondering if I could make it so the image for the first section didn't start until after the header rather than being tucked behind it? Link to comment
tuanphan Posted December 21, 2020 Share Posted December 21, 2020 Hi. Can you setup password & share url? Your site is private. You can also try add this code to Home > Design > Custom CSS body.homepage #page section:first-child { margin-top: 20px; } Adjust 20 to another number 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
vibemade Posted May 12, 2021 Share Posted May 12, 2021 I tried this on my mobile site but it doesn't seem to move the headline (first section) down. Does anyone have a solution? My site is vibemade.com, and I have separate mobile homepage vibemade.com/mobile I'm attaching the editor view which shows the image is much taller. It's extra annoying because on device when I scroll down and quickly come back up, I can see on iOS that there's part of the image that's getting hidden under the top nav. Link to comment
tuanphan Posted May 14, 2021 Share Posted May 14, 2021 On 5/12/2021 at 10:21 AM, vibemade said: I tried this on my mobile site but it doesn't seem to move the headline (first section) down. Does anyone have a solution? My site is vibemade.com, and I have separate mobile homepage vibemade.com/mobile I'm attaching the editor view which shows the image is much taller. It's extra annoying because on device when I scroll down and quickly come back up, I can see on iOS that there's part of the image that's getting hidden under the top nav. Add to Design > Custom CSS /* Move down top image */ @media screen and (max-width:767px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 100px; } } 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
vibemade Posted May 14, 2021 Share Posted May 14, 2021 14 hours ago, tuanphan said: Add to Design > Custom CSS /* Move down top image */ @media screen and (max-width:767px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 100px; } } That worked, thanks! @tuanphan — how can I make it work for all widths of the site? Link to comment
tuanphan Posted May 16, 2021 Share Posted May 16, 2021 On 5/14/2021 at 10:43 PM, vibemade said: That worked, thanks! @tuanphan — how can I make it work for all widths of the site? You mean all devices: desktop, tablet & mobile? 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
tuanphan Posted May 17, 2021 Share Posted May 17, 2021 11 hours ago, vibemade said: @tuanphan Yes! Use this new code /* Mobile - Move down top image */ @media screen and (max-width:767px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 100px; } } /* tablet */ @media screen and (max-width:991px) and (min-width:768px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 150px; } } /* desktop - Move down top image */ @media screen and (min-width:992px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 100px; } } You can adjust values ;) Also, do you need to fix this? (Tablet-Blog posts) Increase content width? 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
vibemade Posted May 17, 2021 Share Posted May 17, 2021 6 hours ago, tuanphan said: You can adjust values 😉 Also, do you need to fix this? (Tablet-Blog posts) Increase content width? @tuanphan would love to — hadn't caught that! Link to comment
tuanphan Posted May 18, 2021 Share Posted May 18, 2021 On 5/18/2021 at 5:28 AM, vibemade said: @tuanphan would love to — hadn't caught that! Add to Design > Custom CSS /* Tablet blog width */ @media screen and (max-width:1024px) and (min-width:768px) { .blog-item-inner-wrapper { width: 95% !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
vibemade Posted June 17, 2021 Share Posted June 17, 2021 On 5/17/2021 at 11:37 AM, tuanphan said: /* desktop - Move down top image */ @media screen and (min-width:992px) { [data-section-id="609b461aebc9b414a36f72c2"] { margin-top: 100px; } } @tuanphan how do you find the data section ID? I'm trying this on desktop size and it's not working 😞 Link to comment
tuanphan Posted June 17, 2021 Share Posted June 17, 2021 5 hours ago, vibemade said: @tuanphan how do you find the data section ID? I'm trying this on desktop size and it's not working 😞 Use this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
vibemade Posted June 18, 2021 Share Posted June 18, 2021 @tuanphan you're a genius! Thanks so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.