Add new social icons in the header of Elegant Themes Extra theme
1- Open the header.php file and add this code:<li class="et-extra-social-icon">
<a href="enter link here to page or profile" alt="100% Canadian" class="et-extra-icon et-extra-icon-background-hover"><img src="https://your-image-path.png" /></a>
right after this code:
<li class="et-extra-social-icon <?php echo $social_icon; ?>">
<a href="<?php echo esc_url( $social_icon_url ); ?>" class="et-extra-icon et-extra-icon-background-hover et-extra-icon-<?php echo $social_icon; ?>"></a>
</li>
<?php } ?>
<?php } ?>
You can then do the same for footer.php if you wish to have the same icon.
To add a hover colour to social icon like the others, use this code in custom css box of extra:
.et-extra-icon-background-hover:hover {
background: #c0392b!important;
}
0 Comments