At 3 hours ago, prestashoptarkar wrote:
try to remove display:block from the_menu li a, i think it has to work
li containers have the CSS property display:block by default, and the anchor container is the only thing inside of the li, so this won't change anything.
That and it is the unordered list container that is pushing the content down, not the li container.
If I understand your problem correctly: you want to have an unordered list function the same way a select container would. Specifically: it will open up "above" any content, and not interfere with its position.
To do this you only need to change this:
Using a position of relative is not compatible with what you are trying to do (so far as I know, at least).
Doing so should achieve the result you desire.