• Resolved digitalassistno

    (@digitalassistno)


    Hi,

    I’ve been struggling to find the cause of why the flags in the menu disappear when hovering over them with the mouse cursor.

    Anyone else have any idea?
    Thanks in advance.

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

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I have checked and notice the following code in wp-content/themes/uncode/library/js/app.min.js file:

    $(document).on("mouseover", "a", function() {
        $(this).attr("data-title", $(this).attr("title")),
        $(this).removeAttr("title")
    }),
    $(document).on("mouseout", "a", function() {
        $(this).attr("title", $(this).attr("data-title")),
        $(this).removeAttr("data-title")
    }),

    Not sure what is the point of doing this for each “a” link element, but you can change it to exclude language flags. Something like:

    ...on("mouseover", "a:not(.flag)"...

    Thanks! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Flags disappear on hover’ is closed to new replies.