Jump to content

How to customize navigation sub links?

Recommended Posts

Site URL: http://vibemade.com/

Hi. I've added a couple folders to my navigation to have direct links to shop categories.

  1. Is it possible to add a hover state to the nav links on desktop? (ex: making the background gray or the text color gray).
    Not having it is poor usability.
  2. How can I customize the style of the secondary nav links on desktop?
    I've gone to Site Styles but don't see anything specific for them. Specifically I'd like to increase the vertical spacing between the links and to make the font size smaller.
  3. How can I customize the size of the fonts on the mobile overlay menu?
  4. Is it possible to have top-level nav links that appear on mobile but not on desktop?
    On desktop the secondary links just require hovering + clicking but on mobile they're 3 taps deep. It'd be great to put everything on a flat primary list just on mobile.

Any help is appreciated ❤️ 

1483519602_ScreenShot2021-11-15at12_33_57AM.thumb.png.d9d07b81e435ca3f896acdcdb47e46b9.png

Link to comment
  • Replies 2
  • Views 205
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

7 hours ago, vibemade said:

Site URL: http://vibemade.com/

Hi. I've added a couple folders to my navigation to have direct links to shop categories.

  1. Is it possible to add a hover state to the nav links on desktop? (ex: making the background gray or the text color gray).
    Not having it is poor usability.
  2. How can I customize the style of the secondary nav links on desktop?
    I've gone to Site Styles but don't see anything specific for them. Specifically I'd like to increase the vertical spacing between the links and to make the font size smaller.
  3. How can I customize the size of the fonts on the mobile overlay menu?
  4. Is it possible to have top-level nav links that appear on mobile but not on desktop?
    On desktop the secondary links just require hovering + clicking but on mobile they're 3 taps deep. It'd be great to put everything on a flat primary list just on mobile.

Any help is appreciated ❤️ 

1483519602_ScreenShot2021-11-15at12_33_57AM.thumb.png.d9d07b81e435ca3f896acdcdb47e46b9.png

For styling the header navigator on hover state, you can try adding to Home > Design > Custom Css

.header-layout-nav-center .header-nav .header-nav-item {
  margin: 0;
  padding-left: 1vw;
  padding-right: 1vw;
}
.header-layout-nav-center .header-nav .header-nav-item:hover, .header-nav-folder-content .header-nav-folder-item:hover {
  background: gray;
}

.header-nav-folder-content .header-nav-folder-item {
  padding: 0.5em 1em;
}

.header-nav .header-nav-item--folder .header-nav-folder-content {
  padding: 0;
}

 

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
On 11/15/2021 at 8:30 AM, bangank36 said:
.header-layout-nav-center .header-nav .header-nav-item {
  margin: 0;
  padding-left: 1vw;
  padding-right: 1vw;
}
.header-layout-nav-center .header-nav .header-nav-item:hover, .header-nav-folder-content .header-nav-folder-item:hover {
  background: gray;
}

.header-nav-folder-content .header-nav-folder-item {
  padding: 0.5em 1em;
}

.header-nav .header-nav-item--folder .header-nav-folder-content {
  padding: 0;
}

Thank you! that worked for that part ❤️

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.