Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #321106

    Hi Guys,
    I’ve got my menu titles on 2 lines using the following CSS:

    span.menu-break {
    display: block;
    line-height: 0;
    bottom: 42px;
    position: relative;
    }

    Also got within the actual menu:
    SERVICES<span class=”menu-break”>PROVIDED</span>

    It works nicely apart from when I scroll down the page and the header shrinks. The bottom line of type (in this instance ‘PROVIDED”) moves above the first line. So instead of it reading SERVICES PROVIDED it reads PROVIDED SERVICES.

    Is there a way around this?

    Cheers,
    hughsieg5

    #321109

    Hi hughsieg5!

    Can you post the link to your website please?

    Cheers!
    Yigit

    #321145
    This reply has been marked as private.
    #322025

    Hi!

    Yes, please do so. You can upload screenshots on imgur.com or Dropbox public folder and post the links here

    Best regards,
    Yigit

    #324398
    This reply has been marked as private.
    #324823

    Hey!

    Try adjusting the bottom value when header is scrolled:

    .header-scrolled span.menu-break {
    bottom: 22px;
    }

    Regards,
    Josue

    #324881

    Hi Josue,

    Brilliant. That fixed it for me.

    Cheers,
    hughsieg5

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘menu text on 2 lines’ is closed to new replies.