[Resolved] Avoid line break / wrap in menu

Home Forums Support [Resolved] Avoid line break / wrap in menu

Home Forums Support Avoid line break / wrap in menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #141219
    stesch79

    I have the plugin “Menu Icons” installed. On some sub menu entries with long text (e.g. > 17 characters), there is a line break / wrap between the icon and the menu text. Therfore the icon appears on the first line, the text on the second line. How can I avoid this?

    #141244
    Tom
    Lead Developer
    Lead Developer

    Can you link me to a page where it’s happening?

    #141490
    stesch79

    I can provide you a test page: http://wptest.sciurus.ch/

    There you can see the same behaviour.

    #141493
    bdbrown

    This css should fix it for your current menu items. If you add longer menu items you can increase the width:

    .main-navigation ul ul {
        width: 240px;
    }
    

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    #141494
    stesch79

    Perfect, it works! Thanks bdbrown!

    #141495
    bdbrown

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.