Magento2 Page jumps to top when click Menu Icon on mobile

Magento Asked by Jaydip Patel on November 13, 2020

How to Stop the top menu bar scrolling up the page in website
I have same issue facing like below website but
I am using Porto theme and I have checked with default luma theme this issue also coming on luma theme also

NOTE: my header is the sticky header on mobile

Example :

One Answer

You can achieve this by using css

thead {position:fixed; top:0px;}

Check this link

Answered by Hamendra Sunthwal on November 13, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP