Jump to content

Drop down menu arrow

Recommended Posts

31 minutes ago, Shecrai said:

Site URL: https://www.brandingwithshecrai.com

Hello can someone tell me how to add a drop down arrow to the navigation bar for example I would like a drop down arrow next to Social Media Strategy to let users know there is another page in that folder. 

I saw on another post that this is specific to the template. Thanks in advance 

Is this what you want?

 

image.png

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

Add to Home > Design > Custom Css

/*Using pseudo element to add arrow down icon*/
.header-nav-list .header-nav-item--folder::after {
  content:'';
  width: 0.8rem;
  height: 0.5rem;
background: url('https://api.iconify.design/fe/arrow-down.svg?color=%238b6662') no-repeat center center / contain;
  position: absolute;
  display: block;
  top:50%;
  right: -11px;
  transform: translateY(-50%)
}
/*pointer cursor when hovering nav*/
.header-nav-item--folder {
  cursor: pointer
}

Support me by pressing 👍 if this useful for you

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 10/15/2021 at 12:51 AM, Shecrai said:

I am getting an syntax error on line 10 which is where the background: url is

 

Add this to Design > Custom CSS

a.header-nav-folder-title:after {
    content: "\e009";
    font-family: 'squarespace-ui-font';
    position: relative;
    top: 2px;
}

 

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
  • 6 months later...
20 hours ago, vrlafont said:

Can someone please help me with this?! I'm getting desperate and keep ruining my site by playing with the CSS when I've never done this particular thing before.

 

My business site is foreversuntanz.co.nz

 

Thank you!

Add this to Design > Custom CSS

li.folder-collection.folder>a:after {
    content: "\e009";
    font-family: 'squarespace-ui-font';
    position: relative;
    top: 2px;
}

 

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
  • 7 months later...

Dear whoever is reading this and needs help,

I edited the code above just doing some googling on CSS syntax and got this to work on my site. Hope this helps someone or gives you a starting point! Don't forget to edit the width, height, and top/right position to get it just right.

/*Using pseudo element to add arrow down icon*/
.header-nav-list .header-nav-item--folder::after {
  content:'';
  width: 0.8rem;
  height: 0.5rem;
  background: url('https://api.iconify.design/fe/arrow-down.svg?color=%238b6662');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  display: block;
  top:50%;
  right: -11px;
  transform: translateY(-50%)
}
/*pointer cursor when hovering nav*/
.header-nav-item--folder {
  cursor: pointer
}

 

Link to comment
  • 4 weeks later...

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.