Google Translate flag icon — 30% size bump (main CF)
Date: 2026-05-07 Requested by: Anders Engnell Site: californiaforever.com (main) Status: Shipped to production
What changed
Bumped the flag emoji ("icon") in the Google Translate language toggle from font-size: 16px → 21px (~30% larger), per Anders's request to make the icons more visible in the header nav.
Both instances updated:
- .gt-flag-toggle .gt-flag-trigger .gt-flag (the flag in the trigger pill)
- .gt-flag-toggle .gt-flag-panel button .gt-flag (the flag in each dropdown option)
img.emoji rules already use height: 1em / width: 1.4em, so the WP-emoji image scales with font-size — no extra changes needed.
File touched
wp-content/mu-plugins/gtranslate-nav-placement.php (inline <style id="gt-nav-placement-css"> block)
Not git-tracked — mu-plugins live outside the theme repo. Deployed via SCP.
Deploy
scp -Oof the mu-plugin to/www/wp-content/mu-plugins/gtranslate-nav-placement.phpwp cache flush+wp transient delete --allon prod- Verified live:
curl https://californiaforever.com/?bust=...returnsfont-size: 21px
Related
Solano got the same treatment in the same session, but a smidge bigger (23px) per Eric's call after eyeballing it. See ~/.claude/project-notes/california-forever/solano-site/2026-05-07-translate-flag-icon-size-bump.md.