Jump to content

Height of Drop Down Menu

Recommended Posts

  • Replies 4
  • Views 1.5k
  • 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

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original 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 completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.