Change the FB icon to Blue style


Note : the following code snippet requires advanced WordPress developer skills. There's no guarantee that this snippet works as is with the latest version of our themes, and with the latest version of WordPress. That's why you need to always test any code snippets in a staging environment before implementing it in a production site.


Last Reviewed: 28-Aug-15 (3.4.8) 3.1-3.4.*

Where to copy/paste this code?

NoteSince Customizr 3.3.1 (Customizr-Pro 1.0.12), because of new wp themes guidelines, you cannot use single (double) quotes in the Custom CSS in customizer. Use a Child Theme.

The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then We strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.

Credit: @acub

Credit: @Dennis Charron


Related Snippets you may also like


6 thoughts on “Change the FB icon to Blue style

  • Daniel

    Hey guys,

    i used the

    /* Change the FB icon to white f over (official) blue box */
    a.icon-facebook:before {
    content: ‘\f203’;
    color: #3B5998;
    }

    but the outcome is that the “F” turned to blue colour but there is no white “F” over blue box.
    please help

  • Stacey

    Is it possible to make the button bigger? And change the verbiage upon hover from “Follow me on Facebook” to “Follow G.R.A.C.E. on Facebook.”

    To change the size I have tried:

    .social-icon.icon-facebook:before {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    }

    and

    .social-icon.icon-facebook {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    }

  • Dave Bardell Post author

    You’re correct, though I thought it was worth including the remainder of the CSS in order that readers can see what else was possible with the SI’s.

    Thanks for your input.

  • Denis Charron

    Your solution works but I think found another (simpler?) one:

Comments are closed.