Jump to content

Template Marta : From horizontal to vertical navigation menu

Recommended Posts

  • Replies 17
  • Views 3.7k
  • Created
  • Last Reply
  • 1 month later...
Posted

I am actually having the same issue. I used this code and it didn’t work for me. Can you please help?

  • 2 weeks later...
Posted
On 2/4/2020 at 12:07 PM, JarConcept said:

I am actually having the same issue. I used this code and it didn’t work for me. Can you please help?

same here! nothing happened.

Have you solved that problem? 

Posted
On 2/5/2020 at 9:17 AM, tuanphan said:

Can you share link to your site?

 

On 12/8/2019 at 11:10 AM, tuanphan said:

@moretrobin Add to Home > Design > Custom CSS


.Header-nav-inner {
    height: unset !important;
    width: unset !important;
    display: flex !important;
    flex-direction: column;
}

 

I tried with this code but it didn't work.  what should I do after adding that code and saving in custom css page? 

  • 1 year later...
Posted

I'm having the same issue.  here is the link to my site - https://www.johndavidlevy.com/

Posted
10 hours ago, beachtree said:

I'm having the same issue.  here is the link to my site - https://www.johndavidlevy.com/

Add to Design > Custom CSS

/* vertical menu */
ul.cf {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

 

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

  • 3 weeks later...
Posted
On 6/22/2021 at 11:13 PM, hannaleejewelry said:

Hello, I am also trying to get this vertical navigation but the codes listed here wont work for me. My site link is https://hannaleejewelry.com/

Add to Design > Custom CSS

/* Vertical nav */
.header-nav-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

 

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 6/23/2021 at 9:38 PM, tuanphan said:

Add to Design > Custom CSS

/* Vertical nav */
.header-nav-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

 

Thank you!! This worked but there is a lot of overhang on some of the navigation titles when selected. Is this fixable? 

Screen Shot 2021-07-01 at 5.32.19 PM.png

Posted
On 7/2/2021 at 6:33 AM, hannaleejewelry said:

Thank you!! This worked but there is a lot of overhang on some of the navigation titles when selected. Is this fixable? 

Screen Shot 2021-07-01 at 5.32.19 PM.png

Add to Custom CSS

/* nav active underline */
div.header-nav-item--active a {
    background-image: none !important;
}
div.header-nav-item--active a:after {
    content: "";
    background-color: black;
    height: 1px;
    width: 100%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}
div.header-nav-item--active a {
    display: inline-block;
    position: relative;
}

 

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 7/3/2021 at 12:23 AM, tuanphan said:

Add to Custom CSS

/* nav active underline */
div.header-nav-item--active a {
    background-image: none !important;
}
div.header-nav-item--active a:after {
    content: "";
    background-color: black;
    height: 1px;
    width: 100%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}
div.header-nav-item--active a {
    display: inline-block;
    position: relative;
}

 

This didn't work. The navigation went back to horizontal format.

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.