I'm using a custom theme and when I integrated my own html.html.twig structure (based off the one from core), the admin toolbar disappeared and hovering over block/view elements no longer shows the configure/edit menu actions. The top toolbar is there when I access one of the admin pages on the back end, but when viewing the site itself, it's not there... even though I'm still logged in as admin. I've cleared the cache multiple times, but still no dice.

Do I need to render/output the display of the admin toolbar in my htm.html.twig file?

Comments

Jaypan’s picture

Sounds like you may have a JavaScript error. Open the page with a JavaScript console open, and see what it tells you.

shaunmilo’s picture

Yeah, it's trying to find jQuery hoverIntent in /libraries/jquery.hoverIntent/ but keeps returning a 404 not found for some reason... I'll see if I can download it and hopefully that will fix everything

EDIT: Fixed the missing 404 javascript error with hoverIntent, but the main issue still remains. No javascript errors now, either :\

Jeff Burnz’s picture

Do I need to render/output the display of the admin toolbar in my htm.html.twig file?

Yes, you must have this in html.html.twig:

{{ page_top }}