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

  • Resolved politicske

    (@politicske)


    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 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    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

    politicske

    (@politicske)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.