: Vertex - Main menu: Submenu changes vertical position when scrolling page : stfun666 April 26, 2013, 04:10:34 PM Thank you for your great vertex template.
After doing some css styling to adapt the template for my needs, I discovered a positioning problem with the submenu blocks of the flex menu: When the page is completely scrolled to the top, the submenus slide perfectly down as they are supposed to. However, as I scroll down the page a litte bit (e.g. 30-40px), the submenu blocks open up slightly shifted in the vertical direction, i.e. they appear vertically displaced by aprox. 20px to the top, partly covering the main button. As I further scroll down, the shifting gets bigger. As I could find out through Firebug, the px value of the 'top' position parameter of the respective submenu class is changing, as I scroll down or up my pages, whereas in the original vertex template the value remains the same whether I scroll or not. Since the values of the position parameters 'top' and 'left' of the submenu clas are generated automatically, I can't modify the css style values. Please could you help me understand where the problem is? What refer 'top' and 'left' to? Is there a way to fix the vertical shifting? As the website is still on my local server, I send you some screenshots to illustrate this odd shifting. Thanks in advance for you help. |