Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #982814

    Hi
    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 Friend
    #982829

    so i must add a new custom.css with this code where?

    Pankaj Sharma Moderator
    #982979

    Yes , 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 Friend
    #983090
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #983107

    Hi
    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 Friend
    #983114

    Hello

    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 Moderator
    #983116

    Hi In this case, I suggest you check this link for further style effect on image hover . Also, you can contact to Virtualmart support team for this custom request . So they can check your feature request in this extension .

    Gigaparts Friend
    #983119

    Can you please send me link?

    Pankaj Sharma Moderator
    #983125

    Here is link of Virtualmart forum : https://forum.virtuemart.net/

    Gigaparts Friend
    #983136

    Thank you for resolving this once more great support.

    Matter closed by me

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Gigaparts 7 years, 6 months ago.

The topic ‘Image zoom’ is closed to new replies.