[Support request] hooked element alignment

Home Forums Support hooked element alignment

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1499551
    Radek

    Hi, I hooked button made by elements/block to “generate_inside_navigatin”. Navigation is about header and aligned to right. I need my button floating left (not before first navigation item, but on the left side of my container). I give Element ID to my button and try use `#FB-nav-button {
    float: left;
    }`
    but it does not work.
    What is the right solution to achieve this ?
    Thanx Radek

    #1499592
    David
    Staff
    Customer Support

    Hi there,

    try this CSS to force the element over to the left:

    #site-navigation .inside-navigation .main-nav {
        margin-left: auto;
    }
    #1499635
    Radek

    Hi David, works fine even I could not see the reason if I check code+CSS through inspect element 🙂

    #1499661
    David
    Staff
    Customer Support
    #1499709
    Radek

    And some what will be working with sticky + mobile menu too ? Mayby use new menu_bar_items hook ?…

    #1499739
    David
    Staff
    Customer Support

    Yeah the menu_bar_items hook will apply it to the desktop and mobile navs.

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