Hamburger and menu text alignment

Home Forums Older releases 1.0.x Hamburger and menu text alignment

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3033
    pcobb
    Participant

    I have implemented the hamburger and MENU text as discussed here
    http://www.smartmenus.org/forums/topic/change-default-align-for-toggle-menu-button-and-add-menu-text/

    I am wanting to align both the hamburger icon and text left but in doing so the MENU text always appears on the line below the icon rather then side by side as I would like.
    Could you help please?
    Thanks

    Paul

    #3036
    ratmalwer
    Participant

    maybe float:left wold help.

    Or supply a short but complete codesamle HTML + CSS.

    #3037
    pcobb
    Participant

    No unfortunately float: left; gives the outcome as indicated.

    #3049
    admin
    Keymaster

    Set the heading’s display to inline-block:

    .main-menu-heading {
    	display: inline-block;
    }

    and make sure the .main-menu-btn is not floated to the right.

    Then the order in which they will be displayed (both left aligned) is a matter of which you would put first in the page source.

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

Register

You will be emailed a link to set your password.

Login

Lost password?