Jump to content

Height of Drop Down Menu

Recommended Posts

  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply
On 2/20/2020 at 9:14 AM, tuanphan said:

Add to Home > Design > Custom CSS


.header-nav-folder-content {
    top: 50px !important;
}

Thank you for looking into this.

I actually have tried this before. Unfortunately it moves down the whole div (or however you say that) so that you stop hovering over it and it disappears before you can click on anything when you move your cursor off the word on the header nav.

Any ideas?

 

Link to comment
1 hour ago, mtbracer said:

Unfortunately it moves down the whole div (or however you say that) so that you stop hovering over it and it disappears before you can click on anything

Yes @mtbracer, that will happen if the mouse pointer moves outside of the area occupied by the nav folder link. The way to prevent this is to increase the padding around the nav folder link. For example, something like this:

.header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content {
  top: 54px;
}
.header-nav .header-nav-item--folder {
  padding-bottom: 26px;
  margin-bottom: -26px;
}

spacer.png

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
On 2/24/2020 at 7:08 PM, paul2009 said:

Yes @mtbracer, that will happen if the mouse pointer moves outside of the area occupied by the nav folder link. The way to prevent this is to increase the padding around the nav folder link. For example, something like this:


.header .header-layout-nav-right .header-nav .header-nav-item--folder .header-nav-folder-content {
  top: 54px;
}
.header-nav .header-nav-item--folder {
  padding-bottom: 26px;
  margin-bottom: -26px;
}

spacer.png

Ahh. Yes. That's a simple way to do that. Thanks for the help. 

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.