Community forum for knowledge and support

Updated 10 months ago

Looking for help with webflow localization

At a glance

The community member is looking for help with Webflow Localization. They have added English to their site and translated all the pages, but since locale styling is only available on an expensive plan and they have some custom code, they want to know if anyone has found a selector to address the CSS correctly only for the English locale. For example, they have a hero section with an underline effect created by custom code, and the words in English are shorter than in German, so they would like to address the ::after only for the English locale to make the underline less wide.

In the comments, another community member suggests they got it working by using JavaScript to check the URL path.

Looking for some help from people who have experience using Webflow Localization. I just upgraded and added English to my site and translated all the pages and stuff. As locale styling is only available on an expensive plan and I have some custom code, I wanted to know if somebody found a selector which helps me to address the css correctly only for the English locale? For example I have this hero section on the homepage and the underline effect is created by custom code with ::after and as the words in English are shorter than in German I would like to address the ::after on English only to make them less wide.

A
1 comment

For anybody who is interested I got it via JS and checking the URL path

Add a reply
Sign up and join the conversation on Slack