Support » Plugin: Scriptless Social Sharing » Replace scriptless fontawesome css with custom css

  • Resolved Kratos


    Hi Robin. I have created some icons with icomoon (generate font option) to replace fontawesome in my theme and they are working with the theme. But how do I integrate these icons with your plugin? I tried testing the reddit icon in scriptless fontawesome css after dequeuing fontawesome in my theme but it did not work. Or do I need to enqueue the function code inside the plugin? If so, how to do it? Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robin Cornett


    If you disable both Font Awesome related settings for the plugin, you can replace the icons with whatever you like. The CSS you need for a different font, such as icomoon, will be different from the Font Awesome CSS provided by the plugin, due to different font families, and the font may use different character codes (a quick look on icomoon suggests Reddit is eac6 there, but in Font Awesome, it’s f281).

    I would look into the sample files provided in the icomoon download for the correct CSS rules–just change the class names to match what works with the plugin classes. HTH

    Thanks a lot! That option of disabling the plugin font options was the trick!! I had to hide the WhatsApp button using media query for devices above 1024px but it is all good now. Thanks for this fantastic plugin. You are an awesome person too Robin.

    Hi Robin. I have just come back to this plugin after seeing you introduced SVGs. Excellent! I was using a custom solution (including CSS) that I created using some inline SVG icons I found online. But removing them and the CSS removed one HTTP request from my site! Continue with the good work Robin. I appreciate you loads! Cheers!

    • This reply was modified 6 months, 1 week ago by Kratos.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace scriptless fontawesome css with custom css’ is closed to new replies.