Remove hover effect on Social Media Icons

Hi, 

I need to remove the hover effect on the social media icons of the footer of our site. I want the colored icons to display permanently (like the Facebook example in the image). Heres is the code I am using in the widget. I've included an image of the example. - Thanks!








<a href="https://www.facebook.com/CABE-California-Association-for-Bilingual-Education-250439041926/timeline/" class="icon_bar  icon_bar_facebook icon_bar_small"><span class="t"><i class="icon-facebook"></i></span><span class="b"><i class="icon-facebook"></i></span></a>

<a href="#" class="icon_bar  icon_bar_google icon_bar_small"><span class="t"><i class="icon-gplus"></i></span><span class="b"><i class="icon-gplus"></i></span></a>

<a href="https://twitter.com/cabebebilingual" class="icon_bar  icon_bar_twitter icon_bar_small"><span class="t"><i class="icon-twitter"></i></span><span class="b"><i class="icon-twitter"></i></span></a>

<a href="https://vimeo.com/gocabe" class="icon_bar  icon_bar_vimeo icon_bar_small"><span class="t"><i class="icon-vimeo"></i></span><span class="b"><i class="icon-vimeo"></i></span></a>

<a href="https://www.youtube.com/user/ITCABE" class="icon_bar  icon_bar_youtube icon_bar_small"><span class="t"><i class="icon-play"></i></span><span class="b"><i class="icon-play"></i></span></a>


image




Comments

  • Hi,

    if you want to change the color of every icon and remove hover effect, you need to use the following css:
    a.icon_bar_facebook { background-color: #000 !important; color: #FFF !important; }
    a.icon_bar_google { background-color: #000 !important; color: #FFF !important; }
    a.icon_bar_twitter { background-color: #000 !important; color: #FFF !important; }
    a.icon_bar_vimeo { background-color: #000 !important; color: #FFF !important; }
    a.icon_bar_youtube { background-color: #000 !important; color: #FFF !important; }
    a.icon_bar span.b { display: none !important; }
  • Hi, 

    Thanks for providing the code. Unfortunately, the icons have all turned black, and they continue to have a rollover effect active. I would like to keep the icon in more of a static feel.

    With the code you provided, it looks like I can set the color, but I still don't know what to do about the effect? Thanks for your help. 


    image

    image
  • This is what we exactly gave you. If you want individual colors for each icon, you need to set own colors in above css.
  • I worked out the colors just fine. How would you remove the hover effect that makes the icon disappear when the mouse floats over it. 

    Thanks for your help.
  • To make those icons fixed white color, you need to use the following css:
    .style-simple a.icon_bar:hover span.t {
        opacity: 1;
        color: #fff;
    }
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.