Okay
  Public Ticket #1300022
WP Custom Menu underline current page
Closed

Comments

  • elganza started the conversation

    Hi,

    I have added a custom menu to my pages through the page builder. However I would like for the current page that I am on to be underlined like the main menu of the website. Please refer to attached image. How can I go about doing this?

    Your help is greatly appreciated. Thanks.


  • [deleted] replied

    Hi elganza,

    Can you please add the code below to your Custom CSS area:

    .widget.widget_nav_menu li.current-menu-item a:after {
    width: 100%;
    }

  • elganza replied

    Thanks Ylli! You are a lifesaver. One last question if you can help me with it. How can I change the font colour for that .widget.nav.menu without changing the colour for all the links on the website?

  • [deleted] replied

    Hi elganza,

    Glad to hear that. 

    As for your last question this is a customization question and support doesn't offer customization services as we wrote on our support homepage. I will try to help you this time though

    Please add the code below to your Custom CSS area:

    .widget.widget_nav_menu a {
        color: #fff !important;
    }