Our brands

Answer for How to disable header scrolling when using mobile device like smartphone?

Hello Mate,
 
Please tell me what the theme are you using?
To disable scroll header is activated on mobile. Please try to open the file “skin/frontend/ves theme package/default layout/javascript/common.js” then find code:
 

else if( $(“body”).hasClass(“keep-header”)){

 
Replace to:
 

else if( $(“body”).hasClass(“keep-header”) && !mobilecheck() ){

It will check if not mobile the scroll header will activated. Vice versa, it not activated.

Share this Post!

Panda Thuan
Panda Thuan
Creativity is falling in love with the world
Do NOT follow this link or you will be banned from the site!