Jump to content

Adding a Superscript to submenu/page on a Navigation Bar Dropdown

Recommended Posts

Hi, 

I am trying to add superscript to one of the submenus/ pages  under a navigation  bar page link  but i am unable to do so. 

 

I found this code on the user forum but it only adds the superscript to a parent item on Navigation bar but i would like to a superscript to one of the child item in the Nav Bar . How can i do that ?

div.header-nav-item:nth-child(3) a:after {
    content: "NEW";
    font-size: 10px;
    position: relative;
    top: -10px;
}

Any help would be greatly appreciated. 

Edited by User786
Link to comment
  • User786 changed the title to Adding a Superscript to submenu/page on a Navigation Bar Dropdown
  • Replies 1
  • Views 400
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.