Plugin Support
Fernando a11n
(@fhaps)
Automattic Happiness Engineer
@gia2405 I don’t understand what is it you are trying to achieve. Can you elaborate on what you mean by “show the title attribute”? I understand you are looking to add certain behavior after a customer selects an image – but I’m not entirely sure of what is it you want to show customers.
More details would be appreciated!
Firt, thanks for help me.
I send you a dropbox link with screenshot.
Screenshot 1 – My site – Page product with notes:
https://www.dropbox.com/s/mbtmgzkqaue46h9/screenshot01-depuntoapunto.jpg?dl=0
Screenshot 2 – Exemple with notes:
https://www.dropbox.com/s/w5daw6x47fmeruy/screenshot02-exemple-depuntoapunto.jpg?dl=0
If I put the mouse hover the image, the title of the image does not appear. I need show the code of color when the customer put the mouse hover an image.
URL : https://depuntoapunto.com/producto/rubi-haya-merino-acrilico-fino-medio-suave/
Currently :
img src=”https://depuntoapunto.com/wp-content/uploads/2019/11/VL006-C007-1-100×100.jpg”
I need :
img src=”https://depuntoapunto.com/wp-content/uploads/2019/11/VL006-C007-1-100×100.jpg” title=”C007″
In spanish:
Necesito que se muestre en pantalla el atributo titulo (title=”Código color”), el cual actualmente no aparece en código html, el porque no lo se. Cuando un cliente ponga el ratón encima de la imagen necesito que se muestre el title de la imagen que sera el código del color y asín el cliente no tendrá que seleccionar código por código para ver a que color corresponde.
Again, thanks a lot for your help. I look forward to receiving your response. I hope my english has been good
Giacomo
-
This reply was modified 6 years, 6 months ago by
gia2405.
-
This reply was modified 6 years, 6 months ago by
gia2405.
Plugin Support
Fernando a11n
(@fhaps)
Automattic Happiness Engineer
Hi Giacomo!
That makes sense, yes. Thank you for sharing those screenshots!
Storefront does not incorporate the image title to be displayed upon hovering. Something like that would have to be added through custom.
I don’t have any suggestions about the particular snippet of code you could use for that, but I’ll leave this thread open for now, in case anyone else can chime in with additional suggestions.
Plugin Support
Fernando a11n
(@fhaps)
Automattic Happiness Engineer
We haven’t had any additional input on this thread for a while, so I’m going to close this thread now.
As mentioned above, something like this would require customization work. If you are interested in hiring a developer who can look at this more closely, you may want to contact one of WooCommerce’s customization partners at the following link:
https://woocommerce.com/customizations
If you have any further questions, feel free to start a new thread.