AnswerBun.com

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 : https://outfitters.com.pk/pages/men

One Answer

You can achieve this by using css

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

Check this link

http://jsfiddle.net/john_rock/h6hfX/1/

Answered by Hamendra Sunthwal on November 13, 2020

Add your own answers!

Related Questions

Remove Duplicate product Images in Magento 2

3  Asked on November 5, 2021 by jafar-pinjar

     

Add checkbox to toggle custom fee to checkout

0  Asked on November 5, 2021 by coinhndp

 

Magento 2.3 How add additional links in tag ?

0  Asked on October 2, 2021 by david-young

       

magento 2 Addtocart success message

0  Asked on October 2, 2021 by kanidhaya

 

wishlist not working for guest user in magento 2?

1  Asked on October 2, 2021 by jykmhar123

     

How get item in HTMLCollection?

0  Asked on October 2, 2021

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir