How can I disable the picture zoom for K2 items?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Sep 26, 2013 12:37 pm
Reply with quote
Report this post
Hello,
I have a little problem with K2 items:

At the main menu Verkauf - Neumaschinen - Grader I will display K2 items (pictures with small size!!!) of category in two or three rows.
I tested one item and all pictures are zoomed! Can you give me a tip, how I can disable the zoom function for the pictures.

Thanks a lot

Dirk
User avatar
Fresh Boarder

GK User
Thu Sep 26, 2013 1:17 pm
Reply with quote
Report this post
Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
.itemImageBlock img:hover { transform: scale(1.00) !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Thu Sep 26, 2013 2:04 pm
Reply with quote
Report this post
Thank you for your quick reply!

But I mean not the zoom by the hover function. I mean the picture zoom: Picture scale to width of the site.

Please see this example (I've configured a small picture, but it have no effect!):
http://allbaumaschinen.com/index.php/ve ... -09/grader

Greetings

Dirk
User avatar
Fresh Boarder

GK User
Fri Sep 27, 2013 12:14 pm
Reply with quote
Report this post
Yes responsive images will be always scaled to 100% width of the parent container, because there is no other solution to have proper view on tablet/mobile views.
User avatar
Platinum Boarder


cron