Social media icon color.
-
Hello,
Can i add a css to change the color of the icon in social media side bar ?
In order to bother as less as I can I already tried to addapt this css that i have from “thesacredpath” but to no success because am i still a noob.
.main-navigation a { color: #00bb44 !important; } .main-navigation a:hover { color: #bb4400 !important; }
The blog I need help with is: (visible only to logged in users)
-
-
However, this would change all the icons to that green color. Would you like to have all of them the same color or you would like to have each of them having unique colors?
-
Also, for the hover effect, you can use this and change the color to your need:
.jetpack_widget_social_icons a:hover{ color: #00bb44; } -
-
For the hover effect, here you go:
.jetpack_widget_social_icons a:hover { color: #00bb44; }Just change the color to what you need.
-
-
-
Sure!
.jetpack_widget_social_icons .icon-facebook { color: #00bb44; } .jetpack_widget_social_icons .icon-twitter { color: #00bb44; } .jetpack_widget_social_icons .icon-instagram { color: #00bb44; }And the ones with the hover effect:
.jetpack_widget_social_icons .icon-facebook:hover { color: #00bb44; } .jetpack_widget_social_icons .icon-twitter:hover { color: #00bb44; } .jetpack_widget_social_icons .icon-instagram:hover { color: #00bb44; } -
-
Hi darkydeeds,
You can use the following css
.widget-area .icon-twitter { color: #0084b4; } .widget-area .icon-facebook { color: #3b5998; } .widget-area .icon-instagram { color: #8a3ab9; }Let us know if you need more help.
Thanks
Alexander G. -
Yes @darkydeeds !
You can also use the code that @agounder posted, if you know for sure that you will have the icons just in the widget area.
If you plan to use them across the site, in other locations, too, not only the sidebar, you could turn them into this:
.icon-facebook:hover { color: #00bb44; } .icon-twitter:hover { color: #00bb44; } .icon-instagram:hover { color: #00bb44; }Having
.jetpack_widget_social_iconsin front of them would make the code work only when the social icons are served by the jetpack plugin. -
Also here’s the NON-HOVER version:
.icon-facebook { color: #00bb44; } .icon-twitter { color: #00bb44; } .icon-instagram { color: #00bb44; } -
Thank you both so..so verry much. They all work great except for this one that does not appear to work
.icon-facebook {
color: #00bb44;
}.icon-twitter {
color: #00bb44;
}.icon-instagram {
color: #00bb44;
} -
The following worked for me in both Firefox and Chrome when added them as user style sheet and checked your website.
.widget-area .icon-facebookGoing a level higher adds more weight to the style is therefore used. It’s something you can do to avoid using ! important in the CSS ;)
-
- The topic ‘Social media icon color.’ is closed to new replies.