-
AuthorPosts
-
January 4, 2016 at 7:10 am #730761
How can I change the hover color of the social icons in my top bar?
At the moment each icon has a circle with color when I hover. I want all the icons have 1 color when I hover.
And the shape is this always round?Thanks
January 4, 2016 at 7:11 am #730762This reply has been marked as private.January 4, 2016 at 7:31 am #730785Hi There,
Try adding the following CSS under Customize > Custom > CSS:
.x-social-global a:hover { color: #fff; }
Hope it helps.
January 4, 2016 at 1:36 pm #731338It doesn’t fix the problem, the inner circle has another color indeed, but the outside is still different.
January 4, 2016 at 7:25 pm #731725Hi There,
Part of the issue is; the inner circle is the icon itself. We can keep the circle (hovered or not) with the code below.
.x-topbar .x-social-global a {background-color: #000000 !important;color: #fff !important;}
But we need to change the icons itself to a logo only type, not squared type like the the one that we are seeing now. To do that add this to your custom css.
.x-topbar .x-icon-facebook-square:before {content: "\f09a"} .x-topbar .x-icon-google-plus-square:before {content: "\f0d5"}
Hope it helps, Cheers!
January 5, 2016 at 2:47 am #732146I think we have a misunderstanding.
I am okay with the icon and the shape.
But when I hover the color above Facebook is blue and google + red (see attachment)
And I just want to have the inner circle.January 5, 2016 at 3:44 am #732219Hi Linda,
To avoid changing the background color of social icons on hover, please use this CSS code under Custom > CSS in the Customizer:
.x-topbar .x-social-global a:hover { background-color: #ff0000; }
Replace #ff0000 with your desired color (you can generate hex color codes from here).
Thank you!
January 5, 2016 at 4:57 am #732301Great, that was exactly what I needed.
January 5, 2016 at 6:35 am #732416Glad we could help you.
-
AuthorPosts