Quantcast
Channel: Site5 Free Premium WordPress Themes » All Posts
Viewing all articles
Browse latest Browse all 8865

Reply To: Google Plus

$
0
0

Yeah… maybe one of the other s5themes has it…

But why not hardcode it in php file sidebar. So attach icon (32×32 px) to the code in stead of the social_ico_sprite image.
I notice most of the icons are already located in folder img.

Example:

Replace facebook code in file sidebar code with this:

<?php if(of_get_option('facebook')!="#" && of_get_option('facebook')!=""){ ?>
<li class="facebook"><a href="<?php echo of_get_option('facebook');?>"><div class="icon"><img src="<?php bloginfo('template_url'); ?>/img/ico_facebook.png" ></div>Facebook</a></li>
<?php } ?>

Open file css > main.
Look for: #social ul li a .icon
Remove this:

background-image: url(../img/social_ico_sprite.png);
background-repeat:no-repeat;
background-color:#333;

Look for: #social ul li.facebook a:hover .icon
Remove this:
background-color:#00CCFF;

DONE!

Guido


Viewing all articles
Browse latest Browse all 8865

Trending Articles