Shape 5

phpBB Club Styles (backup) => Comaxium - Club => : stfun666 April 26, 2013, 04:34:42 PM



: Vertex - Main menu: Submenu changes vertical position when scrolling page
: stfun666 April 26, 2013, 04:34:42 PM
Thanks a lot for your great vertex template.

After doing some css styling to adapt the template to my needs, I discovered a problem with the behaviour of the flexmenu drop-downs:

When the page (any page) is completely scrolled to the top, the submenu blocks slide down perfectly as they are supposed to. However, as I scroll down the page a little bit (e.g. 30 - 40px), the submenu blocks open up slightly shifted in the vertical direction, i.e. the submenu blocks appear vertically displaced by aprox. 20px, partly covering the respective main menu button.As I further scroll down the page, the shifting gets bigger, like moving upwards.

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

Since the positioning values of 'top' and 'left' are created automatically (by script, I guess), I can't fix values through css styling. Or is it a 'position:relative' position:absolute' problem?

Please could you help me understand where the problem is?
What are 'top' and 'left' refering to?
Is there a way to fix this odd vertical shifting?

Because my website is still on my local server, I send you some screenshots and the flexmenu.css.


Thanks in advance for your help.