Adding one more Social Icon to Customizr Theme
-
Alright, so, I built a site with the Customizr theme (it’s awesome). Basically, I’m trying to add an extra social link/icon to go along with the already built-in social links options.
Here’s where I’m coming from: https://www.themesandco.com/snippet/adding-custom-social-profile-link-icon-header/
I pasted the first part of the code:
add_filter ('tc_social_in_header' , 'vimeo_in_header'); function vimeo_in_header($resp) { //class added if not resp $class = ('resp' == $resp) ? '':'span5' ?> <div class="social-block <?php echo $class ?>"> <?php if ( 0 != tc__f( '__get_option', 'tc_social_in_header') ) : ?> <?php echo tc__f( '__get_socials' ) ?> <a href="#my_social_profile_link" title="Follow me"></a> <?php endif; ?> </div><!--.social-block--> <?php }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
into the functions.php file (changing the “#my_social_profile_link” with (my social profile link).
Next, I pasted:
.vimeo-icon:before {
content: “\\f212”;
}with the content line replaced with: “content: url(‘https://www.yoursite.com/style/images/my-icon.png’);
“and I don’t see anything, no option either. Can someone help?
- The topic ‘Adding one more Social Icon to Customizr Theme’ is closed to new replies.