• Resolved ccandg

    (@ccandg)


    Hello,

    I am using the Google Language Translator plugin on a WordPress Multi-site install and when adding the short code to a page, the flag images are not displaying. When I access the setting for the plugin, I can see the flags in the top-right corner of the setting page, but when I check the box to show them on the front-end, they do not display.

    The flag links are there, as I can hover over them, but the background image is missing.

    I’m wondering if this has to do with the multi-site setup?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    It looks like you have modified the language selector or something is modifying the language selector.

    Currently I see the following HTML code on your website:

    <a href="#" class="nturl notranslate en flag united-states" aria-label="English"></a>

    It should be:

    <a href="#" title="English" class="nturl notranslate en flag united-states"></a>

    You will need to find out the reason for the change and make sure it stays the same.

    If you are unable to do that, you can modify /wp-content/plugins/google-language-translator/css/style.css file and change #flags.size22 a[title="..."] to #flags.size22 a[aria-label="..."].

    Thanks! ??

    Thread Starter ccandg

    (@ccandg)

    OK. Thanks for your input. I am using a Web Accessibility plugin that was replacing the “Title” tags with “Aria” tags. I’ve disabled that feature in the settings and the flags are now displaying properly.

    Do you know the best way to update the child themes when using a Multi-site install? It doesn’t seem like I have the ability to adjust the Child Theme on a site-by-site basis.

    Any help would be appreciated.

    Plugin Author edo888

    (@edo888)

    Hi,

    I think you can write PHP if statements inside your child theme based on the domain name of the current website.

    I have not used multi-site setup before, so maybe there is another way which I do not know.

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flags not showing up on Multisite Install’ is closed to new replies.