Jump to content

Navigation Border and Mega Menu

Go to solution Solved by tuanphan,

Recommended Posts

Hi, 

I am having two difficulties I'd like help with. 

website

password: accesscode

1) I'd like there to be no bottom border on the header until you scroll ever so slightly. 

2) I'd like for open mega menus to have the same border (1px, solid, #BDBDBD) at the bottom only, and rid the header of its bottom border. I've been able to make the header border disappear with an open mega menu with this code:

.wm-active-mega-menu {.header-border {
display:none!important;
  }}

but I can't figure out how to make a code for the divider on the mega menu to appear. When I try putting dividers into the footer section of the mega menu, the mega menus stop working altogether. 

Thanks in advance for your help!
  

Link to comment

@tuanphan thank you for your help!

1# I was wondering if there is a way to make this transition a bit smoother, so it doesn't seem to appear out of nowhere, I've added a transition of 0.2s for the outgoing but I can't seem to have the same apply for the incoming line.

#2 yes, took me a while but I figured it out!

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.