[Resolved] Top menu float left — CSS not working

Home Forums Support [Resolved] Top menu float left — CSS not working

Home Forums Support Top menu float left — CSS not working

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

    Hi guys,

    I want the emailaddress and phone number floating left.

    Put this in additional CSS

    .menu-item-float-left {
    float: left;
    }

    And called the elements “menu-item-float-left”.

    But menu-elements don’t move.

    Been searching on the forum for the entire afternoon…

    What am I doing wrong here?

    #494631
    Leo
    Staff
    Customer Support

    Hi there,

    Try modifying your CSS to this:

    .menu-item-float-left {
        float: left !important;
    }

    Another option would be to use the top bar widget area instead of secondary navigation:
    https://docs.generatepress.com/article/top-bar-widget-area/

    Then it will automatically split the widgets for you.

    Let me know πŸ™‚

    #494711
    Anton

    Thanks Leo! Your code worked πŸ™‚

    Gonna check the top bar widget area as well.

    #494737
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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