Now I’m starting to get nuts…
I stopped Lazy Load in the W3 Total Cache plugin and now I get the flags like I wanted. If this was the solution? I don’t know.
I made changes in the /wp-content directory, created a perm called polylang and loaded the nb_NO.png into it. Then I opened the settings of Polylang in the backend, clicked on URL modifications and then Save Changes like the recommendation I found on the internet.
Using the chrome console, I found out that Polylang lazyloads an empty svg-file (why?).
When I replace the code within the a-tag with
<img src="/wp-content/polylang/nb_NO.png" alt="Norsk (bokmål)" width="25px">
<span style="margin-left:0.4em;">Norsk (bokmål)</span>
But where can I change the code permanently to have the result I want to have?
-
This reply was modified 2 years, 8 months ago by marcbastian.