-
AuthorPosts
-
March 27, 2015 at 4:45 pm #419395
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.
VinayMarch 29, 2015 at 6:49 pm #420051Hey!
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!
JosueMarch 30, 2015 at 8:28 am #420254i added this to the function file of child theme. What it is supposed to do? i dont see any changes. can you guide?
March 30, 2015 at 2:49 pm #420461Hey!
It should add custom content to your header.
Please also see – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/Regards,
YigitMarch 30, 2015 at 3:02 pm #420477i 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?
March 30, 2015 at 3:07 pm #420484Hi!
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,
YigitMarch 30, 2015 at 3:16 pm #420493Yes 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
March 30, 2015 at 3:19 pm #420495Hi!
Please add following code to Quick CSS as well
#header .widget { top: -250%; z-index: 999; }Best regards,
YigitMarch 30, 2015 at 3:23 pm #420502thank you so much. you are great. Thanks for your time.
March 30, 2015 at 3:29 pm #420511Hey!
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 -
AuthorPosts
- The topic ‘How to place a custom icon on the header?’ is closed to new replies.
