Tagged: ava_main_header
-
AuthorPosts
-
September 18, 2015 at 1:19 am #505183
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!September 18, 2015 at 9:59 am #505324September 18, 2015 at 6:48 pm #505740Thank 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_contentSeptember 19, 2015 at 7:10 am #505879Hey,
Maybe you could try to edit header.php directly in your child theme?
Best regards,
RikardSeptember 23, 2015 at 7:41 am #507521This 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!
-
This reply was modified 10 years, 2 months ago by
a jb.
September 23, 2015 at 10:08 am #507576 -
This reply was modified 10 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
