HometownHaunts Posted October 26, 2023 Share Posted October 26, 2023 Hello, I currently have a folder in my header which provides a dropdown navigation to my different collections on desktop, but when on mobile it opens up a big screen. Is there a way to get the mobile version to look similar to the desktop? I've attached pictures of what it looks like on both. Link to comment
tuanphan Posted October 29, 2023 Share Posted October 29, 2023 You want when users click on Shop >> Show sub items under, in arrow red position? 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
HometownHaunts Posted November 7, 2023 Author Share Posted November 7, 2023 When people click on the menu button on mobile, I would like it to look similar to what happens when you click it on desktop. I've attached a video of what happens on mobile. It opens up a full screen menu, I would like when you click on the hamburger menu it just has a small drop down. RPReplay_Final1699369246.MP4 Link to comment
tuanphan Posted November 10, 2023 Share Posted November 10, 2023 Ah got it. Can you share site url? We can help 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!) Link to comment
HometownHaunts Posted November 17, 2023 Author Share Posted November 17, 2023 On 11/9/2023 at 10:36 PM, tuanphan said: Ah got it. Can you share site url? We can help easier www.hometownhaunts.squarespace.com Link to comment
tuanphan Posted November 22, 2023 Share Posted November 22, 2023 Add to Last Line in Code Injection > Footer <script> $(document).ready(function() { $('.header-menu-nav-folder[data-folder="/shopfolder"]').appendTo('[data-folder="root"]>div>div>div:nth-child(2)'); $('a[data-folder-id="/shopfolder"]').click(function() { $(this).toggleClass('tp-burger-folder'); }); }); </script> <style> .header-menu-nav-folder[data-folder="/shopfolder"] { display: block !important; position: relative !important; transform: unset !important; overflow: hidden; height: 0 !important; transition: all 0.3s; } .header-menu-nav-folder[data-folder="/shopfolder"] .header-menu-controls { display: none !important; } a.tp-burger-folder+.header-menu-nav-folder[data-folder="/shopfolder"] { height: 100% !important; } .header-menu-nav-folder[data-folder="root"] { transform: unset !important; overflow: hidden; } [data-folder="/insights"] a { margin-top: 5px; margin-bottom: 5px; white-space: nowrap; } [data-folder-id] { margin-top: 10px; margin-bottom: 10px !important; } a[data-folder-id] span:nth-child(2):after { content: "\e009"; font-family: 'squarespace-ui-font'; } a[data-folder-id] { white-space: nowrap; } span.chevron.chevron--right { visibility: hidden; } </style> 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment