Hello,
I have a sticky and shrinking header in Enfold with a top bar and work fine in descktop pc but i need same effect in Ipad or tablets, now in Ipad or Tablets logo and menú is fixed top.
Can help with this please?
Sorry my bad english.
Hey slekiz,
I took a look at your page and see that your sticky and shrinking header starts at 768px width, which is the standard width for tablets & iPads so it should work for the iPad. I do notice that at that width your site redirects to a url that starts with “https://m.” (please see url in the Private Content area) which is a mobile version of your site that doesn’t include the sticky and shrinking header.
I believe this is a plugin that is causing this, please try disabling this feature so the built-in responsiveness of the site can manage the elements and the screen widths.
After disabling, please clear your browser cache and check.
Best regards,
Mike
you mean that on scrolling the header should shrink on ipad too! ?
on avia-snippet-sticky-header.js line 62 there is:
if(shrinking && !isMobile)
change to:
if(shrinking)
you can have that js in child-themes folder and load it via child-theme functions.php
Thx all
Hi slekiz,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria