OmerOdemis Posted February 16 Posted February 16 Hello, I've added a few pages under a dropdown menu. When I access one of the pages on desktop view, I can see the menu of pages shown by default and can click on either page. On mobile, it's collapsed by default and shows a "+" icon instead. Is there a way to have it be expanded by default instead of clicking on the "+" icon? Thanks! Sam887733 1
tuanphan Posted February 18 Posted February 18 Can you share link to this page? We can check easier 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!)
OmerOdemis Posted February 20 Author Posted February 20 General Information — Khair Community Center (khaircenter.org) We added a little note for mobile users to click the "+" icon in the meantime.
Solution tuanphan Posted February 24 Solution Posted February 24 You can use this code to Website > Website Tools > Custom CSS to expand it on mobile div#folderNav li { display: block !important; } Sam887733 1 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!)
spinsterdesign Posted March 12 Posted March 12 @tuanphan - Hmm, this is not working for me (7.1): https://sdibeta.squarespace.com/gallery (password: anyone) .
tuanphan Posted March 15 Posted March 15 On 3/13/2024 at 2:05 AM, spinsterdesign said: @tuanphan - Hmm, this is not working for me (7.1): https://sdibeta.squarespace.com/gallery (password: anyone) . With 7.1, use this CSS code body:not(.header--menu-open) .header-menu { opacity: 1 !important; visibility: visible !important; } body.header--menu-open .header-menu { opacity: 0 !important; visibility: hidden !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!)
spinsterdesign Posted March 19 Posted March 19 @tuanphan - this code for 7.1 works! Thanks so much. I'll need to see if I can tweak the CSS to make the mobile menu not full-screen/full height (which may be controlled by js), as this splash screen menu is not that functional to encourage scrolling down to content on each page. But I really appreciate this. Thank you.
tuanphan Posted March 21 Posted March 21 On 3/20/2024 at 1:14 AM, spinsterdesign said: @tuanphan - this code for 7.1 works! Thanks so much. I'll need to see if I can tweak the CSS to make the mobile menu not full-screen/full height (which may be controlled by js), as this splash screen menu is not that functional to encourage scrolling down to content on each page. But I really appreciate this. Thank you. To adjust size, use this new code body:not(.header--menu-open) .header-menu { opacity: 1 !important; visibility: visible !important; bottom: unset !important; height: 50vh; } body.header--menu-open .header-menu { opacity: 0 !important; visibility: hidden !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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment