Tagged: enfold
Hi Team,
On my website that we are developing, we need the german flag to be on the right of the menu, in the social icon header bar.
For example, the flag should be after the ‘Social Media’ ‘Newsletter’ ect, but before the facebook icon.
Can you guys help me?
Hey iNGENUiTY,
Thank you for using Enfold.
Please add this in the functions.php file:
// custom script
add_action('wp_footer', 'add_custom_script');
function add_custom_script(){
?>
<script>
(function($){
function e() {
$('#header_meta .phone-info').insertAfter('#header_meta .social_bookmarks');
}
e();
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
And use the following css code:
#header_meta .phone-info {
margin-left: 15px;
}
Best regards,
Ismael