Jump to content

multiple columns in the drop down navigation menu

Recommended Posts

Posted

Site URL: https://www.g11lab.org/

Hi every one,

 

As I have long list of topic under one category, how I can create multiple columns in the drop down navigation menu?

or put the list in horizontal instead of vertical?

 

my site issue:

205652442_ScreenShot2020-11-29at15_39_40.thumb.png.9f368593ce4cfef1c2c3845746ae1ea3.png

 

the result that I am looking for: 

224819882_ScreenShot2020-11-29at15_42_35.thumb.png.cf7dec6586a93c080c77a31f8b5fe20f.png

 

 

My website info:

https://www.g11lab.org

Pass: 123

 

Thanks in advance 

 

 

  • Replies 4
  • Views 768
  • Created
  • Last Reply
Posted
On 12/5/2020 at 8:25 AM, tuanphan said:

Add to Home > Design > Custom CSS


div.header-nav-folder-content {
    column-count: 4;
    width: auto !important;
}

 

Many Thanks  @tuanphan

I t works. 

However, some of the sub elements goes in the other columns !

how I can put the element in the same columns? see the attached 

and can I decrease the font size of the sub elements only?

 

Thanks Again

 

Screen Shot 2020-12-06 at 15.24.44.png

Posted

I Use this code before: 

//Stylized Folder Dropdown Menu
@linkBGColor: #cee680;
@linkTextColor: #fff;
.header-nav .header-nav-item--folder .header-nav-folder-content {
  padding: 0;
  .header-nav-folder-item {
    padding: .5em 1em;
  }
  .header-nav-folder-item:hover {
    background: @linkBGColor;
    a {
      color: @linkTextColor;
    }
  }
}

 

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.