Header menu (only sometimes!) not sticky with WP Rocket

Posted in: Newsmag
Post count: 114

Hi,

the main menu of my site is normally sticky, but only on some – not at all – posts it is not sticky, the submenu arrows disappeared and the search button is not clickable.

I use WP Rocket. What do I have to do? Is there any function/JS of the theme that I have to exclude in WP Rocket?

Thank you!

Post count: 114

…and at the site where the sticky menu is missing the “back to top”-button is also missing.

Post count: 21065

Hello!

Check this topic: https://forum.tagdiv.com/topic/website-is-very-slow-how-can-be-it-faster/
A cache plugin is not efficient for the page speed without any optimization.

Thank you!

Post count: 114

Hi Bettina,

unfortunately you misunderstood me. The plugin WP Rocket is very well configured, but my question was:

For some posts (not all!) the menu is not sticky, no “back-to-top” button is shown and the magnifying glass for search is not clickable. Also the submenu arrows are not visible.

As I said, this doesn’t happen on all posts, but only on maybe every other post.

And since this error doesn’t occur when WP Rocket is disabled, I’m asking if there is a feature/JS of the theme that needs to be included in the exceptions here, and if so, what it is.

Thank you in advance and best regards,
Luke

Post count: 21065

Hello Luke!

It seems to be in a conflict with some admin-ajax features from our theme.
We recommend the Wp Super cache plugin.

Thank you!

Post count: 114

Hi Bettina,

I don’t want to change the plugin, please let me know if there’s a function/JS that I have to include.

Thank you and best regards,
Luke

Post count: 21065

Hello Luke!

Did you follow the topic I provided you above? https://prnt.sc/oVSVa93tCveL

Thank you!

Post count: 114

Hi,

I think it’s better to use
/wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js
because
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js doesn’t exist in my folder.

I will check this.

Thank you and best regards,
Luke

Post count: 21065

Hello Luke!

Yes. Sorry!
I hope that helps you!

Thank you!

Post count: 114

Hi Bettina,

no, this does not work. If I exclude

/jquery-?[0-9.](.*) (.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js
tdBlocksArray

the whole submenu doesn’t work.

Now I deleted the exclusions and it’s like before, I will give you two examples what I mean:

https://www.eronite.com/beziehung-promiskuitive-frau/
=> the menu is not sticky, no “back-to-top” button is shown and the magnifying glass for search is not clickable, no submenu (missing arrows)

https://www.eronite.com/rubber-latex-lack-leder-fetisch/
=> All it’s fine

I am wondering because on some posts it works, on other posts it doesn’t.

Thank you and best regards,
Luke

Post count: 21065

Hello Luke!

Strange. We would like to investigate this issue.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you
– please provide more information about this issue

Thank you!

Post count: 114

Hi Bettina,

yes, it’s really strange.

Thank you, I will write you an email with the credentials.

Best regards and have a nice Tuesday,
Luke

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