Published
December 23, 2023
Updated
December 23, 2023
With the introduction of locale-specific styling to sub-Enterprise plans, it's now easy to hide and show elements on a per-locale basis.
Here I walk through two approaches;
- Localized styling using display: block and display: none.
- Components and the visibility-bound property
Both are very workable depending on your design approach.
However one of the advantage of the Components approach is that when the elements are hidden they do not exist in the page.
This is generally considered better for SEO.
FAQs
Answers to frequently asked questions.