Sauter la navigation

[Résolu] toolset overriding divi javascript on pages using toolset layout

This support ticket is created Il y a 6 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Beda Il y a 6 années et 6 mois.

Auteur
Publications
#916778

I am trying to keep divi functionality across all pages of site. Pages using a toolset layout are not allowing divi's javascript to add a class to the nav bar upon scroll to shrink the fixed nav.

Link to a page where the issue can be seen: lien caché (error 404 page) - Homepage and other main pages work as intended (shrinking the nav upon scroll)

I expected to see: Shrinking nav across all pages

Instead, I got: Any page associated with a toolset layout is not running the javascript to add class 'et-fixed-header' to the #main-header id. I made a js file of my own and ran it on the child theme to add the class myself but it does not work.

#916908

Toolset Layouts and DIVI shall not be used together, unfortunately the 2 Softwares do not "like" each other.
https://toolset.com/documentation/recommended-themes/toolset-divi-integration/matching-divi-styling-using-toolset/

It is not intended to use Toolset Layouts with DIVI:
https://toolset.com/documentation/recommended-themes/toolset-divi-integration/

Instead, you should remove Toolset Layouts and use Content Templates, those are fully integrated and will work fine.
To avoid the known Stying issues, the above linked doc will help as well.

Toolset Layouts however should be removed from DIVI installs.