Let me just apologize up front for my ignorance; I’ve never really seen PHP up-close and am really new to the WordPress world…
I added a Pinterest option to a social media widget using this tutorial. The addition worked, giving me a new Pinterest option in the widget. The widget says ‘Pinterest’ on the dashboard side and links to Pinterest perfectly on the front end.
The problem is the site is displaying a Google+ icon instead of a Pinterest icon. What’s even weirder is that when you ‘inspect element’ the html is specifying the pinterest.png icon—but, of course, showing the Google+ icon. All I can really do is scratch my head at this point…
Any help would be appreciated. I’m not even sure what I need to include here: the whole php file that I edited? a link to the site? I’m happy to provide whatever I need to.
Thanks for the help, guys.
So what’s going on here is that the image is hidden on line 56 of
main-style.css
:And the Google+ icon is added via a pseudo element (
:after
) who get the Google+ image front an icon font:So what you need to do is to add an other css rule for your Pinterest icon, something like that :
Should do the trick.
UPDATE
If you want to use the Font Awesome Pinterest icon, delete the two lines we added before, and add this :