zoom effect

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
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
Sun Apr 27, 2014 8:40 pm
Reply with quote
Report this post
On instyle template I want to disable zoom effect and find some suggestions on the forum, on of them was :

Code: Select all
.nspArt .nspImageWrapper:hover img,
.gkNspPM-TitleOverlay:hover .gkImgOverlay,
.gkNspPM-TitleOverlay > figure:hover > img
 {
   -webkit-transform: none;
   -moz-transform: none !important;
   -ms-transform: none !important;
   -o-transform: none !important;
   transform: none !important;
}


but it does not work for me ( I put this CSS in template advanced settings, custom CSS tab wit override css ON. I even uploaded separate override.css with this code, but still no luck.
User avatar
Gold Boarder

GK User
Sun Apr 27, 2014 9:01 pm
Reply with quote
Report this post
Hi,
I suppose that you have read my guide: http://www.gavick.com/documentation/gen ... ox-effect/

please show me your website where exactly you have it - DETAIL URL (not global!!) you have this zoom effect and I will try to help.
User avatar
Platinum Boarder

GK User
Sun Apr 27, 2014 9:50 pm
Reply with quote
Report this post
It is on category view.
Yes my action are based on your link.

http://fatu-shop.com/index.php/women-category
User avatar
Gold Boarder

GK User
Mon Apr 28, 2014 12:22 am
Reply with quote
Report this post
You have this effect because of this code.
guily_code.png


So please use following My New code to remove this effect:

Code: Select all
.category > div > a:hover > img,
.product > div > div > a:hover > img {
transform: scale(1) rotateZ(0deg);
}
User avatar
Platinum Boarder

GK User
Mon Apr 28, 2014 5:53 am
Reply with quote
Report this post
Strange, but I still have zoom and rotate effect. Put your code and cleared cache.

Code: Select all
.category > div > a:hover > img,
.product > div > div > a:hover > img {
transform: scale(1) rotateZ(0deg);
}
[/quote]
User avatar
Gold Boarder

GK User
Mon Apr 28, 2014 9:55 am
Reply with quote
Report this post
Are you sure?
Because under Firefox I don't see Zoom effect anymore on those girls photos.

p.s.
ok I think I know, we need prefix for other browsers.
Code: Select all
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);


add also this inside { }
User avatar
Platinum Boarder

GK User
Mon Apr 28, 2014 11:18 am
Reply with quote
Report this post
That worked. Thanks.

Pawel F wrote:Are you sure?
Because under Firefox I don't see Zoom effect anymore on those girls photos.

p.s.
ok I think I know, we need prefix for other browsers.
Code: Select all
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);


add also this inside { }
User avatar
Gold Boarder

GK User
Mon Apr 28, 2014 8:12 pm
Reply with quote
Report this post
Strange thing happened. I updated my override css and it worked, after one hour it was the same (on firefox it is turned off, on opera it is on). So tried to replace code again and got a little bit confused.

How does exactly code should look ?

Code: Select all
.product > div > div > a:hover > img {
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);
.category > div > a:hover > img,
transform: scale(1) rotateZ(0deg);
}


Pawel F wrote:Are you sure?
Because under Firefox I don't see Zoom effect anymore on those girls photos.

p.s.
ok I think I know, we need prefix for other browsers.
Code: Select all
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);


add also this inside { }
User avatar
Gold Boarder

GK User
Tue Apr 29, 2014 4:55 pm
Reply with quote
Report this post
Code: Select all
.category > div > a:hover > img,
.product > div > div > a:hover > img {
transform: scale(1) rotateZ(0deg);
-webkit-transform: scale(1) rotateZ(0deg);
-moz-transform: scale(1) rotateZ(0deg);
-o-transform: scale(1) rotateZ(0deg);
-ms-transform: scale(1) rotateZ(0deg);
}


or

Code: Select all
.category > div > a:hover > img,
.product > div > div > a:hover > img {transform:none !important; -webkit-transform:none; -ms-transform:none; -moz-transform:none;}


As you see it's time to learn some CSS basic :geek:
User avatar
Platinum Boarder


cron