Indi Posted January 22, 2022 Share Posted January 22, 2022 (edited) Site URL: https://www.rotaterecordings.com Hi, I have used code to create a hamburger menu on my website. I am wanting however to add a border around navigational items like the picture attached. Does anyone know how I could do this? Also I'm unsure how to fix the folder navigation item I created, I want it to be a drop down instead of the arrows and having to click back to return to the menu. See 2nd and 3rd attached pictures. Thank you Edited January 22, 2022 by Indi Beyondspace 1 Link to comment
Beyondspace Posted January 24, 2022 Share Posted January 24, 2022 On 1/22/2022 at 8:07 AM, Indi said: Site URL: https://www.rotaterecordings.com Hi, I have used code to create a hamburger menu on my website. I am wanting however to add a border around navigational items like the picture attached. Does anyone know how I could do this? Also I'm unsure how to fix the folder navigation item I created, I want it to be a drop down instead of the arrows and having to click back to return to the menu. See 2nd and 3rd attached pictures. Thank you For the border navigator, kindly try adding to Home > Design > Custom Css .Mobile-overlay-nav-item { border-top: 1px solid; padding-bottom:0; padding: 0 20px; } .Mobile-overlay-nav-item:last-child { border-bottom: 1px solid; } .Mobile-overlay-menu-main { padding:60px 0 0 0; } .Mobile-overlay-menu { width: 100%; } .Mobile-overlay-close { z-index:2; } Let me know how it works on your site Support me by pressing 👍 if this useful for you tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
Beyondspace Posted January 24, 2022 Share Posted January 24, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
Indi Posted January 26, 2022 Author Share Posted January 26, 2022 @bangank36 That works amazingly! Thank you 🙂 Can ask if there is a way to also get a border around the whole menu as well? As seen in the picture. Link to comment
tuanphan Posted January 26, 2022 Share Posted January 26, 2022 11 hours ago, Indi said: That works amazingly! Thank you 🙂 Can ask if there is a way to also get a border around the whole menu as well? As seen in the picture. It looks like you solved with this CSS? .Mobile-overlay-menu-main { padding: 60px 0 0 0; border-right: 1px solid; border-left: 1px solid; border-bottom: 1px solid; } 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
Indi Posted January 27, 2022 Author Share Posted January 27, 2022 @tuanphan Yes, I figured it out 🙂 Link to comment
gstudio Posted August 31, 2023 Share Posted August 31, 2023 @tuanphan Hey! I've tried using the above code to add a border around my desktop navigation (I've added the mobile burger style) but it isn't working. Any ideas? https://asparagus-helicon-shhr.squarespace.com/ Thanks so much! Link to comment
tuanphan Posted September 3, 2023 Share Posted September 3, 2023 On 8/31/2023 at 6:05 PM, gstudio said: @tuanphan Hey! I've tried using the above code to add a border around my desktop navigation (I've added the mobile burger style) but it isn't working. Any ideas? https://asparagus-helicon-shhr.squarespace.com/ Thanks so much! Your site is private. You can follow this guide to share url, 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!) Link to comment
gstudio Posted November 14, 2023 Share Posted November 14, 2023 @tuanphan I've made the site password protected now https://asparagus-helicon-shhr.squarespace.com/ Password: EDR2023 Here's a pic of what I'm trying to achive... a border around the nav where the red line is and to remove the nav background from the header. Thanks so much! Link to comment
tuanphan Posted November 18, 2023 Share Posted November 18, 2023 On 11/14/2023 at 6:54 PM, gstudio said: @tuanphan I've made the site password protected now https://asparagus-helicon-shhr.squarespace.com/ Password: EDR2023 Here's a pic of what I'm trying to achive... a border around the nav where the red line is and to remove the nav background from the header. Thanks so much! Use this CSS code .header-menu-nav-folder-content { border: 1px solid red; background-color: var(--menuOverlayBackgroundColor); } .header-menu-bg.theme-bg--primary { background-color: transparent !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!) Link to comment
gstudio Posted November 21, 2023 Share Posted November 21, 2023 @tuanphan Thanks so much, that has worked. The only thing is the menu overlay is cut short slightly, so the button doesn't have a background. See below... any idea how to extend it down? Thanks again for your help! Link to comment
tuanphan Posted November 24, 2023 Share Posted November 24, 2023 On 11/18/2023 at 9:55 AM, tuanphan said: Use this CSS code .header-menu-nav-folder-content { border: 1px solid red; background-color: var(--menuOverlayBackgroundColor); } .header-menu-bg.theme-bg--primary { background-color: transparent !important; } Change first code to this .header-menu-nav { border: 1px solid #000; background-color: var(--menuOverlayBackgroundColor) } 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