Shape 5

phpBB Club Styles (backup) => Comaxium - Club => : stfun666 April 26, 2013, 03:46:18 PM



: Vertex - Main menu: Submenu changes vertical position when scrolling page
: stfun666 April 26, 2013, 03:46:18 PM
Thank you for the great vertex template.


After making some css-styling to adapt the layout for my needs, I discovered a problem with the flex menu:

When the page (any page of the website) is completely scrolled to the top, the submenus slide perfectly down as they are supposed to.
However, when I scroll down the page a little bit (e.g. 50px), the submenu blocks open up slightly shifted in the vertical direction, i.e. they open up vertically displaced by approx. 10px - 20px. As I further scroll down, the vertical shifting of the submenu block gets bigger.

As I could find out through Firebug, the px value of the position tag 'top' changes in the respective submenu class, as I scroll down, in my webpage, whereas in the original vertex template the value of the position tag 'top' remains the same whether I scroll down or not.

Since the 'top' and 'left' values are generated automatically (they are not defined in the stylesheets), I can't actually modify the values by css styling.

Could you please help me understand where the problem is?
Can this be fixed by css styling?

As the website is still on my local server, I send you some screenshots.


Thanks in advance for your help.