create header widget with social icons

Dear support team,
I just managed to get a childtheme running.
I would like to have social widgets in my header area like you see here. http://www.livelifegreen.de/
By now I always added the following code to my header.php .

<?php dynamic_sidebar( ‘header-widget’ ); ?>
<?php if( !get_theme_mod(‘header-widget’) ) activello_social_icons(); ?>

The problem with that was that the information always was lost with every theme update. Can I simply add this code to the stylesheet of my new child theme?

Thanks a lot
Alex

Hi Alex,

I hope you are well today and thank you for your question.

Sure to achieve this just copy the modified header.php file and add it in the child theme directory.

Best Regards,
Movin

Dear Movin,
thank you so much for your support.
I just have to get FTP access first to do that. But thank you. Now I know what to do ;-)…
All the best
Alex

You are most welcome here :slight_smile: