• Resolved suetonius

    (@suetonius)


    Hi
    Using NextGEN Gallery v2.2.16, I want, on occasions (from one photo gallery to another), to suppress the alttext label that appears when you hover over a picture.
    I am using Site Origins Page Builder with their Vantage theme.
    As things stand, Gallery imposes, as a default, the picture name.
    I have tried using the alttext shortcode, but the documentation is a little vague as to how it should be applied.
    I have tried all sorts of combinations, but it is simply ignored – not even an error msg.
    Can anyone help?
    Thanks

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

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

    (@imagely)

    @suetonius – You could try applying this JavaScript snippet:

    // Hide the image title seen when hovering over images (not tested).
    $('img["title"]').on('mouseenter', function(e){
        e.preventDefault();
    });

    … although what you are seeing is generally considered default browser behavior in most cases.

    Thanks!

    – Cais.

    Thread Starter suetonius

    (@suetonius)

    Thanks Cais
    While I am happy inserting stuff like CSS code, I haven’t the foggiest how to insert a JScript snippet.
    I have tried a few ideas, but none seem to work.
    At the risk of pushing my luck, can you help?
    Thanks
    Jim.

    Plugin Author Imagely

    (@imagely)

    @suetonius – You might look at using another plugin to add custom code …

    … this seems to work in most cases: https://wordpress.org/plugins/custom-css-js/ although we do not provide support for this plugin or its use.

    Thanks!

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alttext on hover’ is closed to new replies.