Skip to content

Instantly share code, notes, and snippets.

@bacoords
Last active May 2, 2024 21:41
Show Gist options
  • Save bacoords/3b635cf700df229fec034716c4172b76 to your computer and use it in GitHub Desktop.
Save bacoords/3b635cf700df229fec034716c4172b76 to your computer and use it in GitHub Desktop.
Update the Twitter / X Icon in Font Awesome 4
.fa.fa-twitter{
font-family:sans-serif;
}
.fa.fa-twitter::before{
content:"𝕏";
font-size:1.2em;
}
@fjcaceres
Copy link

Hi there, seems good code but need your help for a wordpress site
a. With the the twitter-font-awesome-4.ccs , what do I do with this ? Should I create a new folder ? under the theme, ??? because there are other .css folders and files
b. About the embed. Should I include this script too or can it go alone in my files where the new logo appears ?

Thank you

@bacoords
Copy link
Author

bacoords commented May 2, 2024

I think the quickest way is to add the CSS in Additional CSS in the Customizer.

Here's more information: https://www.briancoords.com/twitter-icon-font-awesome-4/

@fjcaceres
Copy link

Hi Brian. thanks for promt response
Sorry for my question, what do you mean by "the customizer" ? Also, is there something called "Additional CSS" ? Is it in my theme´s css file, btw, it has a few thousand lines of code Thank you Javier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment