Remove category description from menu - by Tonny

This topic has 4 replies, 2 voices, and was last updated 5 years, 8 months ago ago by Rose Tyler

  • Avatar: Tonny
    Tonny
    Participant
    April 17, 2019 at 10:18

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

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 17, 2019 at 10:23

    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
    April 17, 2019 at 11:31

    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
    April 17, 2019 at 12:05

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.