Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter timbarkerse

    (@timbarkerse)

    The issue was here https://www.vqcomms.com/contact-us/ but of course I’ve fixed it now by removing fa-classic using PHP (and don’t want to break it again to demonstrate).

    If it’s useful, I am looking at my local version and when fa-classic is present it looks like the javascript swaps out the icon for a svg which doesn’t happen with the other icons. I’m loading FA myself so it could be the way I’m doing that or how my kit is configured. See the below screenshot from dev inspector.

    Thread Starter timbarkerse

    (@timbarkerse)

    Hi Matt,

    You were right that the ACF settings were a red-herring. The code specifying the icon-sets did work – I’m not sure what went wrong when I tried it before. When I built the field in the UI and exported to PHP it was pretty much identical.

    I looked further at the HTML that gets output by the ACF field and it looks like this:

    <i class="fa-classic fa-brands fa-linkedin"></i>

    If I manually remove the fa-classic class it works correctly. So this is fairly easy to work around in my code. Curious if I’m doing something wrong to generate those classes or if it might be a bug in the plugin. Maybe fa-classic isn’t enabled in the kit that I’m using – I don’t have very easy access to the kit config unfortunately so I can’t check.

    Thanks for your help. My work-around is doing the trick so no immediate need for help.

Viewing 2 replies - 1 through 2 (of 2 total)