• olivierword4

    (@olivierword4)


    Hello everyone,

    I’m working on a wordpress site for my internship.
    One of the assignments that was given to me was to make the site https://villa-nea-gi.com/nl/ in multiple languages.
    I’m currently using the Royalvilla theme.
    Now I have two problems.

    Problem number 1 is the hovering over the flags in the top right corner.
    As soon as you hover over one of the flags the img codes Will appear.
    Do you guys know if there is a way to change that to something simple like Dutch, English, German?

    The second problem that I encountered is the click on the German and English flag.
    If you click on one of these flags it will send you to the blog page of that language however I want it to send you back to the home screen of that language, just like the Dutch flag.

    Do you guys have any ideas how to solve these problems?

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

Viewing 1 replies (of 1 total)
  • Azragh

    (@azragh)

    The first one comes from the markup – you got the whole image tag in the title attribute of the link, which doesn’t make sense at all.. Polylang doesn’t do that per default so this has to be somewhere in the theme or another plugin. If you can’t change that, maybe this could help:

    https://stackoverflow.com/questions/8078388/hiding-title-tags-on-hover

    For the second one you have to connect the pages in the Backend – it seems like WP doesn’t know that they are related. Propably check your homepage settings & flush permalinks too?

    Maybe someone else has better advice – just stumbled over your question while posting an issue by myself. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Language flag hovers & href’ is closed to new replies.