Jump to content

Drop down navigation formats

Recommended Posts

  • Replies 11
  • Views 612
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
Posted
On 1/7/2022 at 9:52 PM, tuanphan said:

You mean make dropdown items on multi columns?

Add to Design > Custom CSS

.header-nav-folder-content {
    column-count: 2;
}

 

This seems to only split the columns up evenly. What if we want the column to start on an earlier/later link?

Posted
On 2/8/2022 at 6:46 AM, tuanphan said:

You can consider using a mega menu plugin

We're definitely considering this. Is it possible for you to help me on this within this thread?:

Right now I have this code, which puts all the links with a padding and sets to normal width:

.header-nav-folder-item.header-nav-folder-item--external {
    font-size: 20px!important;
    font-weight: normal!important;
    padding: 0em 1.5em!important;
  }

This is a preview of the "Destinations" drop down menu:

image.thumb.png.3460aad758198b22e9d5305188dc0078.png

This is exactly what I'm looking to do. However, I'd like to just style the links like this only within "Destinations" and not within "Resources" or any other folder that has links.

Posted
On 2/14/2022 at 10:24 PM, justaguywhodoesthings said:

We're definitely considering this. Is it possible for you to help me on this within this thread?:

Right now I have this code, which puts all the links with a padding and sets to normal width:

.header-nav-folder-item.header-nav-folder-item--external {
    font-size: 20px!important;
    font-weight: normal!important;
    padding: 0em 1.5em!important;
  }

This is a preview of the "Destinations" drop down menu:

image.thumb.png.3460aad758198b22e9d5305188dc0078.png

This is exactly what I'm looking to do. However, I'd like to just style the links like this only within "Destinations" and not within "Resources" or any other folder that has links.

Hi,

What is your site url? I checked all comments & dont see url to check

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!)

Posted
On 3/4/2022 at 10:10 PM, justaguywhodoesthings said:

I apologize, I'm having issues with website owner's communications. Try "UTS2022"

Change this code

.header-nav-folder-item.header-nav-folder-item--external {
    font-size: 20px!important;
    font-weight: normal!important;
    padding: 0em 1.5em!important;
  }

to this

a.header-nav-folder-title[href="/destinations"] + div.header-nav-folder-content .header-nav-folder-item--external {
    font-size: 20px !important;
    font-weight: normal !important;
    padding: 0em 1.5em !important;
}

 

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!)

Posted (edited)
On 3/6/2022 at 8:20 AM, tuanphan said:

Change this code

.header-nav-folder-item.header-nav-folder-item--external {
    font-size: 20px!important;
    font-weight: normal!important;
    padding: 0em 1.5em!important;
  }

to this

a.header-nav-folder-title[href="/destinations"] + div.header-nav-folder-content .header-nav-folder-item--external {
    font-size: 20px !important;
    font-weight: normal !important;
    padding: 0em 1.5em !important;
}

 

I appreciate you! Unfortunately, it is not working for me.

This is the entire code:

/* Nav design */
.header-title-nav-wrapper {
    flex: 1 0 75%!important;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}
[href="/destinations"]+.header-nav-folder-content {
      columns: 3 !important;
      width: auto !important;
     display: absolute !important;
    width: auto !important;
}
.header-nav-folder-content{
  background-color:rgba(255,255,255,0.98)!important}

.header-nav-folder-content a {
  padding-bottom:0.1em!important;
  padding-top:0.3em!important}

.header-nav-folder-content{
  border: 1px solid #1b6fc1}

.header-nav .header-nav-item--folder .header-nav-folder-content {
  padding: 20px!important;
 .header-nav-folder-item {
    font-weight: bold!important;
    padding: 0em 1em!important;
  }
  .header-nav-folder-item {
    font-size: 19px;
  }
.header-nav-folder-item:hover {
    background: #1470af!important;
    a {color: #fff!important;}
  }
a.header-nav-folder-title[href="/destinations"] + div.header-nav-folder-content .header-nav-folder-item--external {
    font-size: 20px !important;
    font-weight: normal !important;
    padding: 0em 1.5em !important;
}
  }

 

Edited by justaguywhodoesthings

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.