Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

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)
  • The forum ‘1.0.x’ is closed to new topics and replies.