• Resolved sendmecakes

    (@sendmecakes)


    Hi, it appears that in the latest release of Virtue (free) the product image gallery lightbox for woocommerce product pages has started displaying the media titles, which is not desired behaviour for the site in question – https://www.sendmecakes.co.uk.

    Example URL: https://www.sendmecakes.co.uk/product/ultimate-bake-box/

    It is also showing the image title when hovering over the images on the product page.

    I _think_ this has just started with Virtue 2.7.6, but I confess that I’m a WordPress noob, and it is possible that this behaviour previously existed or has been introduced by design or as a result of some change that I’ve made to theme options.

    Is there a way to suppress the titles in lightbox and hover, or should I accept that I’ll have to tidy up the titles to make them fit for display?

Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hi!
    So sorry for the delay!! The theme developer became a father this week so we are still catching up:)
    This css should remove the title from the lightbox:

    .mfp-title {
        display: none;
    }

    You can paste that into your custom css box in Theme Options > Advanced Settings.
    As for seeing the title on hover, I’m not seeing that. What browser are you using?

    Hannah

    Thread Starter sendmecakes

    (@sendmecakes)

    Hi Hannah, thanks for your response. Congratulations to the developer on becoming a father!

    The browsers I’m using are Firefox 47.0 and Safari 9.1.2 on OSX El-Capitan. I get the same hover behaviour on both (the media title is displayed) on the wooCommerce product pages. This is on the product image and the product gallery image thumbnails.

    Hey,
    Any browser shows the “Title” attribute in a link. The title attributres is set by the title attribute of your image. (which defaults to the file title in wordpress). Nothing has changed on this and it’s standard with woocommerce?

    To remove that title attribute you would either need to use javascript to clear it or edit the woocommerce files. Is that what you want to do?

    Just a note the title attribute is good for SEO.

    Kadence Themes

    Thread Starter sendmecakes

    (@sendmecakes)

    Many thanks for responding. If the title attribute is good for SEO, I’d better re-title the images rather than seek to suppress their appearance when hovering over the images. I’m still thankful for the css that Hannah supplied so that we can choose to suppress the title display in the lightbox.
    Thanks again, and wishing you much joy with your newborn.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme: Virtue lightbox for woocommerce product image gallery shows image titles’ is closed to new replies.