Single Product Page – Hide Thumbnail Title?

Solved10 replies2 participantsUpdated by Eva Kemp

  • Avatar: khoavo
    khoavo
    Participant

    Hi there, could you give me the custom css to HIDE the image/thumbnail title on the Single Product Page? When you place the cursor over the thumbnail underneath the main image, I noticed the title displays. I would like to hide that.

    See my page example link provided. Thanks.

    Please, contact administrator
    for this information.

    10 Answers

    Avatar: khoavo
    khoavo
    Participant

    Hey, could you also take a look at the page link I’ve added? Noticed the first page, the Zoom Effect doesn’t seem to work. I’m using the exact same image sizes. The others work but for some reason this particular product page doesn’t. Thanks.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Add this code in footer.php before </body>:

    <script type="text/javascript">
    jQuery('document').ready(function($){
    $('[title]').removeAttr('title');
    });
    </script>

    I’ve enabled zoom effect in Theme Options > Single Product Page and it’s working for both images. Please clear browser cache and check again.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: khoavo
    khoavo
    Participant

    The new script you provided also hides the Title Attribute for my LOOK BOOK on the main menu, so it’s not going to work. I want the Title Attribute on my main menu to display. We’ve discussed this before for the Single Images. Where you’ve successfully provided me with the script below. Which works great, since it hides the Title on all Single Images. So now I just need a new scrip that will hid the thumbnail images in the Product Pages 🙂

    I already have this script in my footer.php.

    <script type=”text/javascript”>
    jQuery(‘document’).ready(function($){
    $(‘.wpb_single_image img’).removeAttr(‘title’);
    });
    </script>

    As for the Zoom Effect, I had disabled it last night so my Client can not view it. But apparently it’s working now, so that’s odd, but great! Thanks.

    Avatar: Eva
    Eva Kemp
    Participant
    Avatar: khoavo
    khoavo
    Participant

    Almost, but not quite! Click on my example page link. With your new script, the Title Attribute still shows when you place the cursor over the FIRST thumbnail under the large image. But it’s hidden on all other thumbnails after the first one 🙂

    Also, how come the Zoom Effect on my example page doesn’t work like the rest? See my example link provided. Thanks again.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Zoom effect isn’t working on your example page because original sizes of the image are 510px × 510px, which are too small. You should reupload the image with dimensions more than 800px.
    Try to disable 3rd-party plugins and check images titles after that.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: khoavo
    khoavo
    Participant

    But the Accessories Photos are the same size at 510px and those seem to be zooming fine.

    And what should I do about the Title Attribute Scripts? Will you be providing me a new one? Since the last one didn’t quite work 100%. Thanks.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Concerning Title Attribute you can visit WordPress forums as this query isn’t theme related.
    Concerning zoom effect, your image sizes should be larger, as for the product “REILLY PYTHON” where featured image has dimensions 901px × 900px and zoom effect is working there perfectly.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: khoavo
    khoavo
    Participant

    Thanks. Go ahead and close this one out.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

The issue related to '‘Single Product Page – Hide Thumbnail Title?’' has been successfully resolved, and the topic is now closed for further responses