How to disable zooming of images when mouse over?

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
Fri Mar 07, 2014 4:02 am
Reply with quote
Report this post
I just want the image to fill up the square and not do that zoom thing. My images aren't filling up the square, but they look like rectangles. How do I disable the zooming and have the products fill the entire box?
User avatar
Gold Boarder

GK User
Fri Mar 07, 2014 9:46 am
Reply with quote
Report this post
Hi,
but where: in module, in article view or VM view ? more details and URL please.
User avatar
Platinum Boarder

GK User
Fri Mar 07, 2014 9:47 am
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Fri Mar 07, 2014 2:17 pm
Reply with quote
Report this post
the site is still offline. On the front page of the instyle template, there is a section that says best sellers. That module is using news pro and showing virtuemart items. How do I disable that "zoom and turn effect" on the product images
User avatar
Gold Boarder

GK User
Fri Mar 07, 2014 9:08 pm
Reply with quote
Report this post
Please edit: /templates/gk_instyle/css/override.css and add at its end:
Code: Select all
.gkBanner:hover > a > img {
opacity: 1;
filter: alpha(opacity=1);
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
transform: scale(1) rotateZ(0deg);
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.