Hi WPML-team,
we are working with a twentytwentythree-based theme and the website-editor.
adding your language-switcher to a navigation shows the switcher but the design is weird - no uppercase and no styling.
trying to use some custom css failed because there is no CSS for styling in the code!?
just: data-wpml ???
By default, WPML does not render language switchers with its own HTML. Instead, it injects the language switcher elements into the menu structure. This way, your theme renders the language switcher just like other menu items.
Basically, this allows the language switcher to look better on your site, taking on the look of your theme’s CSS rules.
On the other hand, you can always target an element based on a CSS selector, like for an attribute either it's a standard one or a custom (i.e. data-wpml), please see following articles:
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.