Google Translate flag icon — size bump (Solano)
Date: 2026-05-07 Requested by: Anders Engnell Site: solano.californiaforever.com Status: Shipped to production
What changed
Bumped the flag emoji ("icon") in the Google Translate language toggle from font-size: 16px → 23px (~44% larger), per Anders's request to make the icons more visible in the header nav.
Why bigger than main CF (21px)? Eric eyeballed both after the initial 30% bump and asked for "a smidge bigger" on Solano. Solano's nav reads heavier overall (DM Sans link row, no frosted-glass treatment), so the flag needed a bit more weight to register.
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://solano.californiaforever.com/?bust=...returnsfont-size: 23px
Related
Main CF got the same treatment in the same session at 21px. See ~/.claude/project-notes/california-forever/main-site/Retainer/2026-05-07-translate-flag-icon-size-bump.md.