Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #423236

    Hi,
    I want to have a subtile with a Top Header menu.
    I tried the CSS below (find here : https://kriesi.at/support/topic/word-wrap-in-menu-or-have-the-menu-on-two-lines/#post-283385)
    Menu item : ÉTHIQUE<span class=”menu-break”>notre vision</span>
    Quick CSS :
    span.menu-break {
    display: block;
    line-height: 0;
    bottom: 25px;
    position: relative;
    }

    It is OK, except when the menu becomes small (when we go to the bottom of the screen), and also with the mobile menu (the second line goes on top of the first line)

    I tried
    span.menu-break {
    position: inherit !important;
    }

    but it is not better…
    Thanks

    #423369

    Hey ppi37!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #423504
    This reply has been marked as private.
    #424100

    Hi!

    Perhaps some CSS like this would help?

    .header-scrolled .menu-break {
      bottom: 7px !important;
      font-size: 11px !important;
    }

    There is not much space there to play around with.

    Regards,
    Elliott

    #424217

    Hi Elliott,
    Thanks, it’s OK now with desktop screen.
    Only the mobile menu still not good.
    Thanks

    #424239

    Hi!

    Please add following code to Quick CSS as well

    #mobile-advanced .menu-break {
      bottom: -4px !important;
    }

    Best regards,
    Yigit

    #424513

    Hi Yigit,
    It seems perfect!
    Thanks a lot

    #424652

    Hey!

    Great, glad we could help.

    Best regards,
    Rikard

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