Plugin wraps nav item instead of actual page title, even with tweak
Hey there –
I installed the plugin and followed your instructions on putting the title selector in the functions.php file (in my case it’s .page-banner-heading).
However, when I set the page to hide the title, it puts the dojodigital_toggle_title wrapper on the instance of the title text as it appears in the navigation, rather than the actual title using .page-banner-heading further down the page. After looking at the code, I suppose this is because it IS technically after the header, but the nav appears before the title on the page, so the plugin must just see the title text in the navigation and says “found it! okay done!”
Any ideas on how to fix this? I’m willing to make PHP changes, just don’t know what to do about it exactly.
- The topic ‘Plugin wraps nav item instead of actual page title, even with tweak’ is closed to new replies.