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

    Hi,
    I modified the location of the menu underline using this code.
    span.avia-menu-fx {
    top 65px;
    }

    However, when I scroll down the page and the header shrinks as I want it to do, the underline moves down or does not remain directly under the menu as I have located it. How can I fix this?

    #471980

    Hey thecszone!

    Please change your CSS to this instead:

    span.avia-menu-fx {
    top: 65px;
    }

    And you should be able to control the position after scroll with this:

    .header-scrolled span.avia-menu-fx {
    top: 45px;
    }

    Best regards,
    Rikard

    #472062

    Thanks so much. This works, but the line jumps around when I scroll. Can that be fixed?

    #472435

    Hi!

    Please change the code to following one

    span.avia-menu-fx {
      top: 99%;
    }
    .header-scrolled span.avia-menu-fx {
      top: 98%;
    }

    Regards,
    Yigit

    #473298

    Thanks. Works fine.

    #473325

    Hey!

    You are welcome, glad we could help!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Menu underline moves down when I scroll’ is closed to new replies.