Remove the underline of the main menu links


Is it possible to remove the underlined items on the menu of the homepage ?

They only appear on menu items that are on the same page as the homepage, if its possible it would be great if they disappeared if this isnt possible can i give the other menu items that are not on the homepage a underline ?



Yassin Rebbik

Hello Yassin,

Please try to use the following CSS code.

You can add CSS code in Dashboard → Appearance → Customize → Additional CSS (WordPress 4.7 and up).

#site-navigation ul li a {
    border-bottom: none;

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.