ssjewelry Posted June 30, 2023 Share Posted June 30, 2023 Hi! I'd like to adjust the height of some sections on my site on mobile view: Call-to action:https://www.susiesaltzman.com/about It seems there's extra space below the index page content but I can't find what it is. How do I remove this so I can make the size of this section smaller? Link to comment
DPruitt Posted June 30, 2023 Share Posted June 30, 2023 (edited) The best fix for this IMO would be: #collection-id .page-section:nth-child(1) {min-height: 100px !important} If you're using Squarespace 7.0 you can use the index pages URL: #url-slug .Index-page-content {min-height: 100px !important;} Edited June 30, 2023 by DPruitt Added code Link to comment
ssjewelry Posted June 30, 2023 Author Share Posted June 30, 2023 Thanks for sharing, @DPruitt! I tried it out but it didn't seem to work... The awkward extra space was still there Link to comment
Solution tuanphan Posted June 30, 2023 Solution Share Posted June 30, 2023 Use this CSS code @media screen and (max-width:640px) { section#about-cta>div { margin-bottom: 0px !important; padding-top: 0px !important; padding-bottom: 0px !important; } section#about-cta { min-height: unset !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
ssjewelry Posted June 30, 2023 Author Share Posted June 30, 2023 Waaah thank you SO much you're a literal lifesaver! @tuanphan tuanphan 1 Link to comment
LillianC Posted July 3, 2023 Share Posted July 3, 2023 I've been trying all the code suggested on here but can't make the scrolling ticker tapes (marque) to be less height on mobile? There's also a strange white gap below each of them. https://www.rooftopbar.co/ Link to comment
tuanphan Posted July 5, 2023 Share Posted July 5, 2023 On 7/3/2023 at 7:59 PM, LillianC said: I've been trying all the code suggested on here but can't make the scrolling ticker tapes (marque) to be less height on mobile? There's also a strange white gap below each of them. https://www.rooftopbar.co/ Use this CSS code /* Scroll block height mobile */ @media screen and (max-width:767px) { .fe-64a2a4fed52b0a6c56236623 { grid-template-rows: repeat(2,minmax(24px, auto)) !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
LillianC Posted July 10, 2023 Share Posted July 10, 2023 thank you for this code it worked on the home page. How can I apply the same to the 2xscrolling bars on the gallery page? https://www.rooftopbar.co/gallery I tried using a section ID. finder and it didnt work. There's still a big gap on mobile. Link to comment
LillianC Posted July 10, 2023 Share Posted July 10, 2023 Actually I worked it out thank you! tuanphan 1 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