Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Prevent Menu from Jumping

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #169447
    siouxfan45
    Participant

    I have a javascript in place which adds a CSS class named (.tiny) to my menu (#menu-container) when a user scrolls 25 pixels down the page. The .tiny class changes the menu from relatively positioned to fix positioning. Naturally, this causes all the content under the menu to jump up when a user scrolls down.

    Demonstration: http://themeforward.com/demo2/

    I’m curious what I need to do to .tiny to prevent this jump from happening.

    #169498
    siouxfan45
    Participant

    I’ve tried margins and different types of positioning with no success – is there another way to do this?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.