Webswool Posted March 4, 2021 Share Posted March 4, 2021 Site URL: https://marguerite-elliot.squarespace.com/ Hey folks - I'm forcing mobile navigation on all devices with this website, but the gap between the links gets really huge when viewed on desktop. I've tried targeting the line-height between the links but had no luck... the settings in the style editor are great for mobile view, but as soon as the screen size increases the links seem to grow in size, as does the space between them. Would love to tweak the spacing overall, but specifically for the smaller (sub) links Have attached a screengrab - thanks in advance! Sx Link to comment
tuanphan Posted March 5, 2021 Share Posted March 5, 2021 Add to Design > Custom CSS /* desktop menu spacing */ @media screen and (min-width:768px) { .container.header-menu-nav-item a { margin-top: 10px; margin-bottom: 10px; } } Webswool 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Webswool Posted March 8, 2021 Author Share Posted March 8, 2021 On 3/5/2021 at 1:41 PM, tuanphan said: Add to Design > Custom CSS /* desktop menu spacing */ @media screen and (min-width:768px) { .container.header-menu-nav-item a { margin-top: 10px; margin-bottom: 10px; } } Thanks so much @tuanphan - that did the trick! Much appreciated 🙂 Link to comment
tuanphan Posted March 12, 2021 Share Posted March 12, 2021 On 3/8/2021 at 7:37 PM, Webswool said: Thanks so much @tuanphan - that did the trick! Much appreciated 🙂 Hi. Do you want to align left "Process" on mobile? Webswool 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Webswool Posted March 12, 2021 Author Share Posted March 12, 2021 Oh yeah that'd be great @tuanphan - thank you! Link to comment
GeorgeCCole Posted January 24, 2022 Share Posted January 24, 2022 On 3/5/2021 at 1:41 PM, tuanphan said: Add to Design > Custom CSS /* desktop menu spacing */ @media screen and (min-width:768px) { .container.header-menu-nav-item a { margin-top: 10px; margin-bottom: 10px; } } I genuinely love you. I've been trying to fix this issue for 2 days. Link to comment
alirasoul Posted January 1 Share Posted January 1 Thank you for sharing this!!! Super helpful! 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