-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 2, 2016 at 1:45 pm #982814Hi
For this you have to apply the css on the image class of product page . You can use custom.css file for this .
Here is style code :-webkit-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; -webkit-transform: scale(1.1); -ms-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1);
Gigaparts FriendGigaparts
- Join date:
- February 2016
- Posts:
- 116
- Downloads:
- 309
- Uploads:
- 16
- Thanked:
- 2 times in 2 posts
November 2, 2016 at 2:03 pm #982829so i must add a new custom.css with this code where?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 3, 2016 at 12:12 am #982979Yes , you have to apply this code in on the style class of your product image . You can post the URL here and i will give you correct code.
Gigaparts FriendGigaparts
- Join date:
- February 2016
- Posts:
- 116
- Downloads:
- 309
- Uploads:
- 16
- Thanked:
- 2 times in 2 posts
November 3, 2016 at 7:50 am #983090This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 3, 2016 at 9:15 am #983107Hi
Add below code in custom.css file to add zoom style for product page image.com_virtuemart .productdetails-view .vm-product-container .vm-product-media-container .main-image:hover img {-webkit-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; -webkit-transform: scale(1.1); -ms-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1);}
Gigaparts FriendGigaparts
- Join date:
- February 2016
- Posts:
- 116
- Downloads:
- 309
- Uploads:
- 16
- Thanked:
- 2 times in 2 posts
November 3, 2016 at 9:29 am #983114Hello
This works fine but its not exaclty what i need.
I want to hover mouse over image and display in window with a large piece of the image like a magnifier.
My client needs this cause he sells watches and he need to display details in product image.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
Gigaparts FriendGigaparts
- Join date:
- February 2016
- Posts:
- 116
- Downloads:
- 309
- Uploads:
- 16
- Thanked:
- 2 times in 2 posts
November 3, 2016 at 9:42 am #983119Can you please send me link?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 3, 2016 at 9:46 am #983125Here is link of Virtualmart forum : https://forum.virtuemart.net/
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by Gigaparts 8 years ago.
The topic ‘Image zoom’ is closed to new replies.