Jump to content

[Share] Show Number before Navigation Items

Recommended Posts

To show a number before Navigation like this

image.png.ad76da0eff828f1db0e6336570390528.png

You can use this code to Custom CSS box

div.header-nav-item, div.container.header-menu-nav-item {
    counter-increment: nav;
}
div.header-nav-item>a:before, div.container.header-menu-nav-item div:before {
     content: '0' counter(nav) '.';
    position: relative;
    font-size: 20px;
}

image.png.bc0dbe25890c41dc60f54a921816626a.png

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
  • Replies 0
  • Views 179
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.