Hi.
I know how to place an icon next to the menu item, by copying the icon short code next to the menu text in the menu options. But i need to know how I do place the icon directly on top of the menu text? I tried fiddling with the CSS but Im not sure which item to target.
Hi!
Can you apply the icons first and then post a link to your site so we can provide you with the precise CSS code?
Cheers!
Josue
Hey!
Try with this:
.avia-menu-text .av_font_icon {
position: absolute;
top: -25px;
}
.html_header_top.html_header_sticky.html_large #header_main .container, .html_header_top.html_header_sticky.html_large.html_main_nav_header .main_menu ul:first-child > li a {
line-height: 170px;
}
Regards,
Josue
Awesome thanks!
Can it be centred? Do I need to add text-align to .av_font_icon?
Change the icon code to:
.avia-menu-text .av_font_icon { position: absolute; top: -25px; left: 0; right: 0; margin: 0 auto;}
Regards,
Josue
Fantastic! Thank you so much!!