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

    #420051

    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

    #420254

    i added this to the function file of child theme. What it is supposed to do? i dont see any changes. can you guide?

    #420461

    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

    #420477

    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?

    #420484

    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

    #420493

    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

    #420495

    Hi!

    Please add following code to Quick CSS as well

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

    Best regards,
    Yigit

    #420502

    thank you so much. you are great. Thanks for your time.

    #420511

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How to place a custom icon on the header?’ is closed to new replies.