Can't disable Sticky Menu in mobile theme

Posted in: Newspaper
Post count: 12

Hi, I’ve disabled the sticky header menu in Theme Panel, desktop is OK, but in mobile theme view the header menu is still there when scrolling up. Please advise how to completely disable that for mobile theme.

Thanks.

Post count: 12

FYI, I don’t use any Cloud Library template.

Post count: 35449

Hi KC,

Unfortunately for mobile theme there is no option to disable the snap menu, sorry! this can be achieve only for responsive version.
What you can do for mobile theme is to use a custom css like this one :
.td-header-wrap {
position: unset!important;
}

The code need to be set in theme panel> mobile theme> custom code> css

Hope this will help you!
Thank you!

Post count: 12

Hi Calin,

Thanks for the suggested method, the header menu is hidden, but when scrolling there is still reflow happen on the page, the content is still sligntly jumping. Reason I asked for this request is due to recent penalty received from Google Adsense, and this sticky header menu could be the culprit.

Can you advise how to disable this feature by modifying the theme file? Thanks.

Post count: 35449

Hi,

Please provide me a link where I can inspect this problem.
The Sticky Menu in mobile theme is set using minify jQuery to add inline css to some elements -> https://i.imgur.com/znS6pRA.png unfortunatly this is quite hard to find the right place where the changes need to be done, also these will be lost when you’ll make a theme update.

Thank you!

Post count: 12

Hi Calin,

This is my site link https://www.moretify.com/, now the main concern is mobile view.
The 60px of the header menu’s position changes has potential to cause the Google Adsense penalty. Please advise which lines of the jQuery minified codes need to be taken out, thanks.

Post count: 35449

Hi,

In order to remove the stycky from mobile you need to go in wp-content/plugins/td-composer/mobile/js/tagdiv_theme.min.js and search for tdAffix.init(“td-header-wrap”) this need to be comment like this -> https://i.imgur.com/EK2EIXq.png the the sticky from mobile theme will be remove, but I do not think that the problem is from there.

Hope this will help you!
Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.