Change the FB icon to Blue style


Note :This snippet works only with the Classical style option. The Classical style option can be enabled in Appearance > Customize > Advanced > Theme Style. More about the theme style option here


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


We can help you to implement this snippet

Coding is our job and we know WordPress inside and out. We can help you to customize your website with small chunks of code snippets like this one.

Send us your request and we'll get back to you quickly.



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.