Okay
  Public Ticket #2286192
Main menu missing
Closed

Comments

  •  11
    Eshen started the conversation

    Hi, I tried to take away the hover underline of main menu by using some css code fund on old Kalium discussions but it doesn't work. After I removed the css code, my main menu just entirely disappeared. what should I do now?

    Thanks.

    ps. since the front page is not ready yet, I provide a random post link for checking.

  • [deleted] replied

    Hi Eshen,

    To remove hover underlines from the Standard Menu please add the code below to your Custom CSS area:

    .standard-menu-container.menu-skin-light div.menu>ul>li>a:after, .standard-menu-container.menu-skin-light ul.menu>li>a:after {
    background-color: transparent;
    }
    Have a nice day!

  •  11
    Eshen replied

    Hi, I apply the code but the main menu is still missing.

    https://eshenchen.com/summer-is-not-over-yet-show/

    need the menu back first, then I can do with the underline. Thanks.

  • [deleted] replied

    Hi Eshen,

    Can you please share your Wordpress credentials because I need to login to your site and test this issue. Your information is safe here (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar (see how)

    Thanks!

  •   Eshen replied privately
  •  11
    Eshen replied

    [UPDATE!] I found the problem and now the menu is bak. However the css code for removing the menu underline is not working. I applied it but the hover underline is still there  @@?

    https://eshenchen.com/lightforfreedom/


  • [deleted] replied

    Hi Eshen,

    Happy to hear thatsmile.png

    As for the hover underline Please just add this CSS code to your Custom CSS area:

    .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main div.menu > ul > li > a:after, .main-header.menu-type-standard-menu .standard-menu-container.menu-skin-main ul.menu > li > a:after {
        background-color: transparent;
    }

    Have a nice day!

  •  11
    Eshen replied

    Thank you!  The code works perfectly. 

  • [deleted] replied

    Hi Eshen,

    Happy to hear thatsmile.png

    Have a great day!

  •  11
    Eshen replied

    Hi, I already disable the hover underline. But how could I have the underline on the menu item as you're viewing that section? (not hover effect, just still underline)

    Thanks.

  • [deleted] replied

    Hi Eshen,

    Please try this:

    li.current_page_item {
        border-bottom: 1px solid #333;
    }

    Thanks!

  •  11
    Eshen replied

    Works perfectly! Thank you.

  • [deleted] replied

    Happy to hear thatsmile.png

    Will set this ticket as solved from here.