This topic has 10 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Eva Kemp
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
Hello,
You can go to Theme Options > Products Page Layout > Product Image Hover and change it.
Regards,
Rose Tyler.
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
Hello,
You need edit the file wp-content/themes/royal/woocommerce/content-product.php in line 130.
Regards,
Eva Kemp.
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
Hello,
Please provide FTP credentials in Private Content and we’ll edit the file.
Regards,
Eva Kemp.
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
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.
Thank you for your response.
Much appreciated.
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Changing the product hover over?’' has been successfully resolved, and the topic is now closed for further responses