Remove category description from menu - by Tonny

3 replies2 participantsUpdated by Rose Tyler

  • Avatar: Tonny
    Tonny
    Participant

    How to remove the category description from the menu.
    Site: https://amorosa.no/

    3 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Thanks for using our theme.
    Appearance > Menus > Screen Options > Show advanced menu properties > Description http://prntscr.com/nd3r6c and delete text from this field http://prntscr.com/nd3qtj

    Regards

    Avatar: Tonny
    Tonny
    Participant

    Hi and thanks.
    It tried that already. But there is no text in that field.

    See https://prnt.sc/nd4u7i

    I could use this is CSS, but would rather remove it by a setting in the theme.

    Will this code change anything else?

    .menu-wrapper .menu li a span.menu-item-descr, .mobile-nav .menu li a span.menu-item-descr {
    display: none;
    width: 100%;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Please add this code in style.css file of child-theme

    .menu-wrapper .menu .menu-item-object-product_cat a .menu-item-descr {
        display:  none;
    }

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register