Edit "Navigation Menu" with icons

I need to change the current navigation menu you see in the screenshot to the new navigation menu.

Current navigation menu

33438i8A3131F7763ADA4A.PNG

New navation menu

33439i5D480E9C5F4ED3C6.PNG

The new menu provides for the insertion of two icons.

How can I enter them?

Thanks for the support

Heyo @David14 !

Thanks for adding. So we can help a bit more, can you share a link to a page where this is?

The new navigation menu has not yet been added to the site.

First I’m trying to figure out how to insert it on my landing page created within HubSpot. This is the page where I want to insert it https://info.taketape.it/il-nastro-personalizzato-per-la-tua-impresa.

Hi @David14,

there are multiple ways to achive this.

First: If you using somekind of icon-font(e.g FontAwesome) you can simply place the html code of the icon as menu-label

<i class="fas fa-user"></i>

The only thing what you might have to do is to style the icon via CSS

Second: Work with pseudo-elements in your CSS. It works but I don’t recommend it since the user experience is not the best.

It could look like this:

.hs-menu-wrapper>ul>li:nth-of-type(0):before{
content:'\f007';
font-family:'FontAwesome 5 Pro';
font-weight:'900';
...
}
.hs-menu-wrapper>ul>li:nth-of-type(1):before{
content:'\f008';
font-family:'FontAwesome 5 Pro';
font-weight:'900';
...
}
...

There are of course many other ways like creating a own menu module but those requires a lot more work then these two ways.

best,

Anton