Jump to content

Height of Drop Down Menu

Recommended Posts

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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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

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.