VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: melingmeier on June 03, 2012, 20:23:50 PM

Title: [Solved] Mouseover description for product thumbnails
Post by: melingmeier on June 03, 2012, 20:23:50 PM
Currently the filename xxx.jpg is shown if I put the cursor over the small thumbnail images in my product-detail view. It would be much nicer if a certain description would be shown instead. In backend there is a small sign in the bottom left angle of each picture for a product ("edit pictureinformation"), but nothing happens if I click on it.

Is there a fix for that?
Title: Re: Mouseover description for product thumbnails
Post by: melingmeier on June 03, 2012, 20:34:41 PM
I tried with IE now. Here the buttons for editing pictureinformation works, but only if I fill in the "shown description" field. But a fix description under my picture thumbnail in productdetail view is not what I want. If I fill in the "shown title" field only, the filename is shown with mousover again.
Title: Re: Mouseover description for product thumbnails
Post by: jjk on June 03, 2012, 21:32:44 PM
The issue with the 'Edit image information' icon has been fixed in version 2.0.7d. (if I remember correctly). I'm using the latest delveloper version from SVN and the icon works in Firefox, too.
When you place your mouse over the 'mini thumbnails' in the product details page, it shows the 'Image Alt-Text'.
If you don't want the fix description under your pictures, you can change it in the file ...\components\com_virtuemart\assets\css\vmsite-ltr.css.
Just change
.vm-img-desc{display:block;}
to
.vm-img-desc{display:none;}

...or place an override for this file in your templates/MY_TEMPLATE/css folder
Title: Re: Mouseover description for product thumbnails
Post by: melingmeier on June 03, 2012, 22:01:23 PM
Thanks for your fast reply!
Editing the css works..