Jump to content

Animate Navigation Dropdown

Recommended Posts

Hi all,

 

I am in the process of making my website more appealing and would like to ask for help with drop down animations.

sebastianborde.com

When hovering over the "work" section in the nav bar, a list of three options appear instantly. I would like to make them appear with a bit of delay, similar to the gif below. The background can remain transparent of course.

Is there a way to achieve this? I have tried to search for a solution myself but have very limited coding knowledge.

66c8fce57e8a354e2aca1860a31dc072.gif

Here is the CSS used so far:

// active nav bold
.header-nav-item--active a{
  background: unset !important;
  font-weight: bold !important;
}
// nav hover bold
.header-nav-item>a:hover {
    font-weight: bold !important;
}
.header-nav-folder-item:hover a {
    font-weight: bold !important;
 }

// Dropdown unicode +
a.header-nav-folder-title:after {
    content: "\002B";
    font-family: 'squarespace-ui-font';
    position: relative;
    top: 1px;
}

 

Bonus question:

I have changed the nav items to go bold when hovering over them and also being continuously bold depending on which section you are currently viewing.

This works great except for the "work" tab with drop-down. Whenever I am in either of the drop-down sections (landscape, urban, or drone). All of them appear bold and even underlined (I previously removed underline completely using CSS). Do you know if this is fixable?

 

Many thanks in advance 🙂

Seb

Edited by Seb_B
Link to comment
  • Replies 4
  • Views 703
  • Created
  • Last Reply

Top Posters In This Topic

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

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.