Style your apex_lang.emit_language_selector_list
If you have a translated app, starting with APEX 18.1, there’s a super simple way to display a language selector: apex_lang.emit_language_selector_list;
However, this is the default output:
I rather make it a bit prettier and get this:
To accomplish that, I had to add a line of JS and two CSS rules:
$(".a-LinksList-item").addClass("t-Button").addClass("t-Button--pill");
.a-LinksList--lang {text-align: center;}
a.a-LinksList-link {position: relative; z-index: 2;}
And make sure to seed and publish :)
Yes! I really despise that. Where’s my “Seed & Publish All” button!?