Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Changing icons on Widgets (http://forum.bytesforall.com/showthread.php?t=20857)

raulchan95 Sep 2, 2013 04:38 AM

Changing icons on Widgets
 
Hello,

I need to change the icons of the sidebar, I want that Instagram widget shows an instagram icon (I modified the sprite [http://palmaentumano.es/wp-content/t...ns-0090d3.png] and I use this like a background on widgets.css.

I only get the star icon on every widget despite I indicate on widgets.css this: :confused:
Code:

.widget_instagram > h3 i                        { background-position: -96px -1824px }
Can anyone help me, please?


You can see more at www.palmaentumano.es

THANKS!

CrouchingBruin Sep 2, 2013 11:43 PM

Your class selector is slightly off. Instead of .widget_instagram, try using .instagram, or better yet, the ID selector #instagram-widget-2:
Code:

.instagram > h3 i                        { background-position: -96px -1824px }
or
Code:

#instagram-widget-2 > h3 i                        { background-position: -96px -1824px }

raulchan95 Sep 5, 2013 02:23 PM

Thank you so much!!!!! It's working!!!

CrouchingBruin Sep 5, 2013 02:44 PM

You're welcome, and it looks like you got the icons working on the other widgets, too. Nice looking site, congratulations.


All times are GMT -6. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.