• Hi, really like this theme but I would like to add Tumblr to the social links. What’s the best way to do this? Happy to use the current Genericons set which is a good set, and happy to tinker with the CSS/PHP files as necessary. I have a child-theme set up. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • you need to use this website (https://genericons.com/) and use the CSS code for the icon you want to use.

    the only way I could do it was to change the number in the style sheet I was using (color) in customizr/inc/css. note that I could not find how to change the “title” of the hover so if you change the icon and link it to somewhere else it will still say “follow me on” whatever the original was

    EXAMPLE: I want to use a Key and not Dribbble

    edit Blue.css
    find ‘dribbble’
    change the number in quotes for content from “\f201” to “\f427”

    Thread Starter sussexlongman

    (@sussexlongman)

    Thanks for that, that may be useful in the future. I had only just found my own solution which was to use the Genericon’d plugin and adding a line in the header.php in the .social-block division to provide an icon (using the Genricons HTML code) and link to Tumblr:

    <div class=”social-block span5″><?php echo tc_get_social(‘tc_social_in_header’) ?>
    <i class=”genericon genericon-tumblr”> </i></div>

    This way you can add a title so I was able to add in ‘Follow me on Tumblr’.

    You’ll need to put header.php in a child-theme to stop the extra line being overwritten when the theme is updated.

    Thread Starter sussexlongman

    (@sussexlongman)

    To clarify on the code above which became a link, so you can’t see the code. After the following code which adds the built-in social media icons

    <div class=”social-block span5″><?php echo tc_get_social(‘tc_social_in_header’) ?>

    you need to add a link to your social media using standard html code i.e “a href=”xxxx.tumblr.com title=”Follow me on tumblr” (I’ve left out < and > at either end of the html so you can see this line)

    and then the code as above for the genericons icon.

    Hi sussexlongman

    I am trying to follow you tip on adding other social icons. I have installed the Genericon’d plugin.

    I have a child theme set up but in header.php I cant find the code. I have looked in class-header-menu.php and find something close but adding the genericon code doesnt seem to work.

    This is what I found:

    <div class="social-block span5"><?php do_action( '__social' , 'tc_social_in_header' ) ?></div>

    I have tried adding the icon for mail as follows:

    <div class="genericon genericon-mail"></div>

    Am I looking in the wrong place?

    Sorry but the site isnt live yet, only in draft, so cant post a link.

    Thanks in advance

    Thread Starter sussexlongman

    (@sussexlongman)

    Hi tpgf,

    The code is in header.php just after <div class=”row-fluid”>. I see the theme has been updated and I was referring to version 2.1.8 so perhaps it has changed – I don’t see class-header-menu.php in the older version.

    This may not matter too much. I added the Tumblr icon using <i class=””> rather than <div class=””> which I think I tried first but it didn’t work, and placed it before the closing div of the “social-block span5″ class. So give it a go using <i class=”genericon genericon-mail”></i>.

    Hope this helps.

    Hi sussexlongman

    Thanks for the response. I am on the latest version 3.0.4 and yes it looks like the theme has been changed so the file structure is different.

    I have tried <i class="> already too, so no luck there.

    I will keep looking. Thanks anyway.

    If anyone else has any suggestions that would be great.

    @rdellconsulting

    Ok thanks… hadnt seen the update to that post by Nicolas. Sounds like I need to keep clear of that for now ??

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Adding Tumblr to Social Links’ is closed to new replies.