Created a template for mobileHeader hook and another template for afterLogo hook.
Deleted the mobileHeader template but it still renders in HTML along with the afterLogo template. Now there are 2 elements with the same #ID in the HTML causing issues - afterLogo desktop template does not work as the #element in the mobileHeader template takes precedence and gets used (works only in mobile layout). This is not due to any caching issues because the code in the template is meant for logged-in users.
Expected behavior: Deleted mobileHeader template should not render.
x332533.invisionservice.com
Q: What hook to use that would render on both desktop and mobile headers in between nav-menu and user-menu?
Recommended Comments