Thanks Danny -
Here is the code I have used to try and get the weibo icon to show on the page. I practiced with the example given for stumbledupon and it showed up no problem. I'm obviously missing something and would appreciate any help.
The icon is placed in the images folder as 2 files (two colours) for the hover effect as follows : ..../platformpro/images/weibofollowus-sml.png and '../platformpro/images/weibofollowushover-sml.png
I tried various different combinations of using no repeat and the number of pixels but no luck yet.
Thanks
From functions.php in platformbase
// Below is an example of how you would add a social media icon to the icons in header (branding section)
// We have placed a hook at the end of the icon set specifically add new icons without modifying code or having to worry about your edits
// getting thrown out during the upgrade process. The way to use hooks goes a little like this:
// add_action('hook_name','function name');// ---> uncomment to load
add_action('pagelines_branding_icons_end', 'add_icons_to_branding');// function name
function add_icons_to_branding(){// This hook adds a stumbleupon icon to the header of your theme. The class referenced in the link can be seen in the style.css
// and is the image from the CSS is placed in the images folder
?>
<a href="http://www.weibo.com/Richard_Brown" class="richardweibo"></a>
<?php }
// end functionFrom style.css in platformbase/* @ CSS corresponding to the hook used in functions.php; adds a stumbleupon icon to branding section */.icons .richardweibo {background: url('../platformpro/images/weibofollowus-sml.png') no repeat 1px 1px;}
.icons .richardweibo:hover {background: url('../platformpro/images/weibofollowushover-sml.png') no repeat 1px 1px;}
/* @ Pullquote Section */