Jump to content

Navigation Dropdown Menu Permanently Show

Go to solution Solved by tuanphan,

Recommended Posts

I'm using the Brine template and looking for a way to have my navigation look like the screenshot attached -- Rather than have a dropdown/folder setup, I'd like the "dropdown" sub-links to show all the time rather than having to click to have it show. Is there a way to make all navigation links in a folder automatically show without the click?

Screen Shot 2019-12-16 at 7.58.07 AM.png

Link to comment
8 minutes ago, pmterrell said:

I am just in the front end design phase and have not started development, but my client is looking to achieve this type of menu and I haven't designed a nav menu that way before. So, I don't have a link I can share yet.

I think you can use CSS to force dropdown always show.

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
12 minutes ago, pmterrell said:

Yes, that was my assumption and I'm pretty sure you're correct. Any idea what that css looks like? I am having a tough time finding code to make it happen.

I can't give exactly code without check site url. 

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
4 minutes ago, pmterrell said:

Here is the current site url -- https://www.hforlove.com/ -- but it doesn't have the navigation implemented yet - currently it just has simple links. Maybe it will help though.

you need to create some sample dropdown link, to check code.

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
  • Solution
3 minutes ago, pmterrell said:

Ok, I added some dropdowns under the About folder. https://www.hforlove.com/

Add to Home > Design > Custom CSS

.Header-nav-folder {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

 

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
  • 3 weeks later...
On 12/16/2019 at 9:30 AM, tuanphan said:

Add to Home > Design > Custom CSS


.Header-nav-folder {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

 

One more question on this.... What if I want to do this only for the homepage, but want the rest of the site to have normal folders?

Link to comment
59 minutes ago, pmterrell said:

One more question on this.... What if I want to do this only for the homepage, but want the rest of the site to have normal folders?

Add to Home Page Settings > Advanced > Header

<style>
  .Header-nav-folder {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
</style>

 

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
  • 5 months later...
On 1/7/2020 at 12:39 AM, tuanphan said:

Add to Home Page Settings > Advanced > Header


<style>
  .Header-nav-folder {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
</style>

 

i managed to do it, heres the css:

 

.header-nav .header-nav-item--folder .header-nav-folder-content {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

 

but now I have a problem that if I want to click any of the sub folder items i first have to go with my cursor over the folder name to make other items clickable? Do you know a solution for that? Thanks

Link to comment
  • 2 years later...
On 7/6/2020 at 3:50 PM, simicvedran said:

i managed to do it, heres the css:

 

.header-nav .header-nav-item--folder .header-nav-folder-content {
    left: 0;
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

 

but now I have a problem that if I want to click any of the sub folder items i first have to go with my cursor over the folder name to make other items clickable? Do you know a solution for that? Thanks

Your code works like a charm, thanks! Did you ever find a solution for this issue? ^

Thanks 

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.