• marseem

    (@waseemsannib)


    Hello everyone,

    I want to change the text hover on cart and view icons. As you can see the plane icon is replaced the basket icon. I need the hover label text display as ticket icon. also, view details once hover on search icon. I wonder how can I do this. I just need the filter code that I should add in custom CSS or in function.php file.

    See screenshot: https://ibb.co/KVCJ6TD

    If anybody could help me with this I will be much appreciated.

    Thanks in advance

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Hiya marseem,

    The hover text is implemented by some custom anchor attributes. I think by YITH? I suggest asking in their dedicated support channel how you’d do the same for cart and search icons.

    To see what has been done for the ticket icon, right click the icon and pick “inspect” (specifics vary slightly by browser type). The related anchor link will be highlighted in the inspector tool. There are attributes like data-title, data-tooltip, data-original-title, etc. that implement the hover text effect. The same are currently lacking for the other icons.

    FWIW, the same effect can be achieved by just setting a simple title attribute value. Most browser’s default behavior would then be to display the value on hover. Title attributes for a hover effect are rarely used these days, but they are still supported by most browsers.

    Thread Starter marseem

    (@waseemsannib)

    Thank you, I’m trying to do this, so far no luck. Thanks for your help

    Thread Starter marseem

    (@waseemsannib)

    Unfortunately, I couldn’t resolve this issue. I hope somebody could help me with this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change hover text on cart, view details’ is closed to new replies.