Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #533713

    Using enfold on a dev site and I have added the code as recommended in your forums to add a header widget via functions.php. I have added my widget and styled it appropriately but my links don’t work? Any suggestions? I see the code for the link and it is correct and I see it in the inspector but you cannot click on it. Please advise. I also need to add a second “logo” to the left of the logo pulled in by the theme but not having luck finding the template file I need to edit to get that to display properly. I am using the header design that has the logo in the center and menu below. Please advise about that as well.

    Thanks!

    #533728

    Hey cybervise13!

    can you share with us the CSS code you have used? it seems that there is z-index to the element and the element is behind the logo div.

    Thanks a lot for your time

    Cheers!
    Basilis

    #533741

    I appreciate very much the quick response!

    also need suggestion to :
    add a second “logo” or image to the left of the logo pulled in by the theme but not having luck finding the template file I need to edit to get that to display properly. I am using the header design that has the logo in the center and menu below.

    #534274

    Hey!

    Please add following code to Quick CSS

    #header .widget { z-index: 999; }

    Can you please post the link to your second logo that you would like to add?

    Cheers!
    Yigit

    #534378

    I really need to be able to add these to the class=”container av-logo-container” so that I can make them adjust for responsive. I will have 3 areas, like in the attached screenshot. What template file can I edit to add this code? I don’t think the header widget code is in the right container Please advise
    thanks!

    #536055

    Hey!

    Try fiddling around /includes/helper-main-menu.php, line 108.

    Best regards,
    Josue

    #536883

    Any code I try to add in that file gives me code errors. I need to be able to add it to the inner-container div. Is it being pulled form another include file?

    #537940

    Hey!

    What code are you using the add the widget area? try changing it to this:

    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    Best regards,
    Josue

    #538568

    I was using this

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    
    function enfold_customization_header_widget_area() {
    
    	dynamic_sidebar( 'header' );
    
    }

    Your code does not place it there either. It puts in after the main menu as the code implies. I need it in here: class=”container av-logo-container”. I have tried to edit the php to add my own div and no matter where I put it, it generates errors. Please see the screen shot I attached earlier in this thread so you can see what I am trying to accomplish. I have 3 sections in the header. One left, one center (logo) and one right. Thanks for your help

    #538648

    Hm, have you tried with ava_before_bottom_main_menu? that should put it inside the header inner-container.

    Regards,
    Josue

    #539193

    ok, that seemed to do it, now is there anyway to add another one? I need to add another logo to the left of the main logo. I am thinking another header widget? See the link below for reference, thanks!

    #539413

    Hey!

    Try simply duplicating dynamic_header here:

    add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header_section_1' );
    	dynamic_sidebar( 'header_section_2' );
    }

    Best regards,
    Josue

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