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.
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.