Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1342928

    Dear Enfold-Team,
    I have a problem with one menu item of my site’s header menu.
    Using Firefox, it shows an unnecessary wordwrap for this one menu item:
    menu item on Firefox
    Using Chrome, the header menu looks as it is supposed to – no wordwrap:
    menu item on Chrome
    Do you have any idea, where the problem is?
    This is the site in question: http://www.dental.one
    Thanks a lot for your support in advance!
    Best,
    Hagen

    • This topic was modified 2 years, 8 months ago by HagenWittig.
    #1342950

    Hey HagenWittig,

    Thank you for the inquiry.

    The issue occurs because of the margin in this css code.

    #top #header .av-main-nav > li#menu-item-2782 > a .avia-menu-text {
    	border-right-style: solid !important;
    	border-right-width: 1px !important;
    	padding-right: 13px !important;
    	margin-right: -13px !important;
    }
    

    Why did you apply a negative margin to the menu text?

    Best regards,
    Ismael

    #1345946

    Dear Ismael,
    Thanks a lot for your help.
    Of course, you are absolutely correct. Stupid, I didn’t see it myself.
    I had to adjust the margin of that particular menu item because I created a menu item looking similar to a button to the right of it. This setting worked brilliantly for more than a year. I guess the latest WP-update has changed part of the menu items’ setup.
    Nevertheless, that was an easy fix. You can close the topic. Thanks again.
    Best,
    Hagen

    #1345996

    Hi,

    No problem. Glad to know that this has been fixed. Please let us know if you have more questions regarding the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Wordwrap in Header Menu’ is closed to new replies.