Tagged: ava_main_header
I’m trying to use the ava_main_header hook to add a 100% width div to the header area. However, this hook places the new div above the logo/ menu (above #header_main .container). I really need it below .container, but not within. Is there a way to do this with current hooks? I haven’t been able to find any reference to this, and I would really like to move away from the jQuery solution currently in place.
Thanks!
Thank you.
Unfortunately, that hook places the content inside #main not #header. I want it in the header so that it inherits header settings (sticky, resize, global font changes, etc). This new div is where I am placing the page title.
I’ve explored:
ava_main_header
ava_after_main_title
ava_before_bottom_main_menu
ava_inside_main_menu
ava_after_main_menu
ava_after_main_container
ava_after_content
ava_before_content
Hey,
Maybe you could try to edit header.php directly in your child theme?
Best regards,
Rikard
This is absolutely the ideal way- editing includes/helper-main-menu.php in the child theme. We had this before, but a couple of Enfold updates ago it broke. We couldn’t figure out why. I’ve gone in and re-implemented this method, and so far it is working without a hitch with the current Enfold version. It would still be rad to have a fancy hook, but this method is solid for now!
THANK YOU!