Deesearcher Posted March 11 Share Posted March 11 Hi, Can anyone help please? I have just been told that on certain desktop views, the header menu dropdown (Kent Businesses category) the menu falls below the screen, then when they move the cursor to scroll down the page, it closes the menu options, so they are unable to scroll though the options. I have attached a screenshot of something similar to what they can see. Can anyone help at all please? Link to comment
Ziggy Posted March 11 Share Posted March 11 Add this to Custom CSS, it limits the vertical height of the dropdown menu and adds a scrollbar so you can see all of the page links: .header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content { overflow-x: scroll; max-height: calc(100vh - 220px); } Let me know if that worked for you. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Deesearcher Posted March 11 Author Share Posted March 11 26 minutes ago, Ziggy said: Add this to Custom CSS, it limits the vertical height of the dropdown menu and adds a scrollbar so you can see all of the page links: .header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content { overflow-x: scroll; max-height: calc(100vh - 220px); } Let me know if that worked for you. Hi Ziggy, thank you for this suggestion, but unfortunately it took away all dropdown options and just added a scrollbar! Any other ideas at all? ( I have added a screenshot for you to see what I mean, but thank you!)... Ziggy 1 Link to comment
Ziggy Posted March 11 Share Posted March 11 Sorry about that, try this adjustment: .header-nav-folder-content { overflow-y: scroll; max-height: calc(~"100vh - 220px"); } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Deesearcher Posted March 11 Author Share Posted March 11 7 minutes ago, Ziggy said: Sorry about that, try this adjustment: .header-nav-folder-content { overflow-y: scroll; max-height: calc(~"100vh - 220px"); } Thank you, that has worked, but do you know if there is anyway we can only show the scrollbar if it is needed? It is a bit ugly and is still showing on full desktop version, when the screen can fit the menu dropdown options. ... Or are we able to change the colour ... or are there any other options at all? ... Thank you for your help though, it is very appreciated!! 🙂 Ziggy 1 Link to comment
Ziggy Posted March 11 Share Posted March 11 Okay, we can put it inside a media query like this: @media only screen and (max-height:642px) { .header-nav-folder-content { overflow-y: scroll; max-height: calc(~"100vh - 220px"); } } Give me a like if that worked. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Deesearcher Posted March 11 Author Share Posted March 11 4 hours ago, Ziggy said: Okay, we can put it inside a media query like this: @media only screen and (max-height:642px) { .header-nav-folder-content { overflow-y: scroll; max-height: calc(~"100vh - 220px"); } } Give me a like if that worked. That worked! Amazing, thank you so much for your help!! Ziggy 1 Link to comment
Solution Ziggy Posted March 11 Solution Share Posted March 11 5 minutes ago, Deesearcher said: That worked! Amazing, thank you so much for your help!! No problem, could you mark my post as the solution to your question and give it a like? Thanks! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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