-
AuthorPosts
-
November 10, 2015 at 10:37 pm #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!
November 10, 2015 at 10:56 pm #533728Hey 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!
BasilisNovember 10, 2015 at 11:10 pm #533741I 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.November 11, 2015 at 5:59 pm #534274Hey!
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!
YigitNovember 11, 2015 at 9:07 pm #534378I 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!November 15, 2015 at 11:47 am #536055Hey!
Try fiddling around
/includes/helper-main-menu.php
, line 108.Best regards,
JosueNovember 16, 2015 at 9:10 pm #536883Any 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?
November 18, 2015 at 10:41 am #537940Hey!
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,
JosueNovember 18, 2015 at 10:14 pm #538568I 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
November 19, 2015 at 1:34 am #538648Hm, have you tried with
ava_before_bottom_main_menu
? that should put it inside the header inner-container.Regards,
JosueNovember 19, 2015 at 7:47 pm #539193ok, 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!
November 20, 2015 at 10:53 am #539413Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.