KaynaMushroom Posted December 7, 2020 Share Posted December 7, 2020 Site URL: http://themushroom.pub I'm having an issue with my website, on smaller screens (and zoomed in up to 150% on my screen) the top menu is stacking unattractively. The elements ('login' link, social icons and cart) end up behind the regular links (see fig 1) and the others jump about more than I'd like even when they're not overlapping (fig 2). I've had a look on this forum and tried this solution: @media screen and (max-width:1100px) { .Header{ display: none !important; } [data-nc-base="mobile-bar"] { display: block !important; } } But it doesn't seem to have done anything. I have also tried adjusting the padding between links and elements, but again, the header is behaving strangely on smaller screens. Is there a way to prevent this or, failing that, have it switch to the tablet mode (hamburger menu) earlier on the display constraint curve (it currently does it if you shrink the window down to about 1/2 its size or at 150% zoom)? Thanks! Beyondspace 1 Link to comment
Beyondspace Posted December 16, 2020 Share Posted December 16, 2020 On 12/7/2020 at 11:32 PM, KaynaMushroom said: Site URL: http://themushroom.pub I'm having an issue with my website, on smaller screens (and zoomed in up to 150% on my screen) the top menu is stacking unattractively. The elements ('login' link, social icons and cart) end up behind the regular links (see fig 1) and the others jump about more than I'd like even when they're not overlapping (fig 2). I've had a look on this forum and tried this solution: @media screen and (max-width:1100px) { .Header{ display: none !important; } [data-nc-base="mobile-bar"] { display: block !important; } } But it doesn't seem to have done anything. I have also tried adjusting the padding between links and elements, but again, the header is behaving strangely on smaller screens. Is there a way to prevent this or, failing that, have it switch to the tablet mode (hamburger menu) earlier on the display constraint curve (it currently does it if you shrink the window down to about 1/2 its size or at 150% zoom)? Thanks! Your logo is big, better show the hamburger @media only screen and (min-width: 768px) and (max-width: 1200px) { .header-burger { display: flex; } .header--menu-open .header-menu--folder-list { display: flex; opacity: 1; visibility: visible; } .header-display-desktop .user-accounts-link, .header-display-desktop .header-nav, .header-display-desktop .header-actions-action--social{ display: none; } } StephStClaire 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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