Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #505324

    Hi a,

    Please try this one:

    ava_after_main_container
    

    Best regards,
    Rikard

    #505740

    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

    #505879

    Hey,

    Maybe you could try to edit header.php directly in your child theme?

    Best regards,
    Rikard

    #507521

    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!

    • This reply was modified 9 years, 3 months ago by a jb.
    #507576

    Hey,

    Great, glad you found a method that you like. We’ll have a look at the hooks and hopefully more will be added in the future :-)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.