Changing the product hover over? - by jonarobinson

This topic has 10 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Eva Kemp

  • Avatar: jonarobinson
    jonarobinson
    Participant
    October 4, 2016 at 09:03

    Hi,

    Just wondering how I would go about changing the hover effect for the product page?

    http://test.crossling.co.uk/wp-content/uploads/2016/10/Screen-Shot-2016-10-04-at-08.45.27.png

    As you can see from the screenshot above, when I hover over a product, you can see a magnifying glass icon – I was hoping to maybe change that to a word or something that covers the full width of the product? Maybe the wording ‘Quick Buy’ or something along those lines?

    Thanks,
    John

    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 4, 2016 at 09:56

    Hello,

    You can go to Theme Options > Products Page Layout > Product Image Hover and change it.

    Regards,
    Rose Tyler.

    Avatar: jonarobinson
    jonarobinson
    Participant
    October 4, 2016 at 10:07

    Thanks for the reply rose!

    Thats not quite what I mean, when you hover over a product a overlay with a magnifying glass appears, I was hoping to change the magnifying glass icon to a wording or something more noticeable?

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    October 4, 2016 at 11:30

    Hello,

    You need edit the file wp-content/themes/royal/woocommerce/content-product.php in line 130.

    Regards,
    Eva Kemp.

    Avatar: jonarobinson
    jonarobinson
    Participant
    October 4, 2016 at 12:14

    Thanks for the reply Eva.

    Thats great thanks – however i am not great at code and looking at that i am not quite sure how I would add the Wording ‘Click here to Quick Buy’ or something along those lines?

    Any guidance would be great?

    Thanks,
    John

    Avatar: Eva
    Eva Kemp
    Support staff
    October 4, 2016 at 12:46

    Hello,

    Please provide FTP credentials in Private Content and we’ll edit the file.

    Regards,
    Eva Kemp.

    Avatar: jonarobinson
    jonarobinson
    Participant
    October 5, 2016 at 12:45

    Hello,

    Sorry have not been able to get FTP access details from my IT department as im working for a larger company – I have however uploaded the file to dropbox – if possible could you amend the file for me and send it back?

    Im hoping to change the hover effect in the overlay, to include the words ‘Click to Quick Buy’ to go alongside the magnifying glass icon on the product display page?

    Also – is this something that will disappear once I update the theme?

    I have included the dropbox link in the private content thanks.

    Thanks,
    John

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 5, 2016 at 14:02

    Hello,

    I’ve edited the file. Please download it https://www.dropbox.com/s/toksbf6k8dwt004/content-product.php?dl=0

    We recommend to upload it to child theme https://codex.wordpress.org/Child_Themes not to lose changes after theme update.

    Regards,
    Eva Kemp.

    Avatar: jonarobinson
    jonarobinson
    Participant
    October 5, 2016 at 15:23

    Thank you for your response.

    Much appreciated.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 5, 2016 at 17:09

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Changing the product hover over?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.