Hi there,
i am trying to add a custom link/icon to the header but in the social media icon there is no custom icon option. Moreover, i dont even see an option to add a widget to the header area. Please let me know how can i add somethign to the header other than the social media icons.
Vinay
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_action('avia_meta_header', 'add_custom_content_to_header');
function add_custom_content_to_header() {
echo "<div class='header_custom_content'>Hello</div>";
}
Cheers!
Josue
i added this to the function file of child theme. What it is supposed to do? i dont see any changes. can you guide?
Hey!
It should add custom content to your header.
Please also see – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Regards,
Yigit
i have added the code to the functions.php but i cant see the “header” widget area in the admin panel. Please see screenshot http://screencast.com/t/aP4NBnkMdRM
is there anythign wrong i am doing?
Hi!
You should go to Appearance > Widgets and create a new widget area called “header” and then place the widget you would like to display on header inside that widget are a
Regards,
Yigit
Yes i did and it worked but my widget is appearing below the menu. please see at http://proweb-demo.com/scubatech/
the widget i added jusy saying “Weather Report” right now
Hi!
Please add following code to Quick CSS as well
#header .widget {
top: -250%;
z-index: 999;
}
Best regards,
Yigit
thank you so much. you are great. Thanks for your time.
Hey!
You are welcome, glad we could help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit