Skip to content

Kellett - refs #1084: campaign page social media icons do not appear correctly - #1097

Merged
willsstrong merged 2 commits into
kellett-realease-jun-26from
1084-campaign-page-social-media-icons-do-not-appear-correctly
Jun 26, 2026
Merged

willsstrong merged 2 commits into
kellett-realease-jun-26from
1084-campaign-page-social-media-icons-do-not-appear-correctly

Conversation

@theteknocat

Copy link
Copy Markdown
Collaborator

What's Included

Refs #1084

  • Switches the FontAwesome module from SVG/JS rendering to the CSS webfonts method, and corrects the module's CDN URLs to the CSS paths — this avoids Cloudflare Rocket Loader interfering with JS-rendered icons in production (see issue Campaign page: social media icons do not appear correctly #1084 for full analysis)
  • Updates all hardcoded FontAwesome icon markup in theme templates to FontAwesome 6 names
  • Removes the now-redundant FontAwesome 4.7 webfont from the theme (icons are provided by the module)

Deployment Steps

  • Deploy code
  • drush cim
  • Rebuild caches

Note

This still uses the FontAwesome CDN, as the site did previously — it now loads CSS instead of JS, so it's unaffected by Rocket Loader. If you'd prefer the library hosted locally instead, that can be set up as a composer-managed library before merge — just let me know.

… CSS URLs

This removes the JS SVG swap method and just uses direct webfonts to bypass CloudFlare's Rocket Loader.
This removes a redundant load of the local FA4 font and css, which had only been used for the thumbs up/down icons in the feedback form, but is otherwise not needed. The footer SCSS has been updated for FA6 now, so will work with the module-only loading of FA6.
@theteknocat theteknocat linked an issue Jun 22, 2026 that may be closed by this pull request
@theteknocat
theteknocat requested review from leeomara and lgontard June 22, 2026 17:10
@theteknocat theteknocat self-assigned this Jun 22, 2026
@willsstrong
willsstrong changed the base branch from main to kellett-realease-jun-26 June 26, 2026 18:19
@willsstrong
willsstrong merged commit 5e6c6c0 into kellett-realease-jun-26 Jun 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Campaign page: social media icons do not appear correctly

2 participants