Okay
  Public Ticket #1484262
Woocommerce product image: deactivating the zoom?
Closed

Comments

  • Alice started the conversation

    Hello,

    I would like to deactivate the wocommerce gallery settings for the display of the product image (zoom, slider and lightbox) since I only have one product image that needs no zooming. 

    Everything is up-to-date (salient version and wocommerce).

    Is there a way to do so, that works with salient?

    Thanks in advance!
    regards, *alice.

  •  8,441
    Tahir replied

    Hey Again,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  • Alice replied

    Hi Tahir,

    thanks for the quick reply. Actually I have someone who could insert CSS. We were already trying to change something via a Plugin called "WooCommerce Product Image Gallery Options" but she said that Salient always overwrites the settings from the plugin.

    Instead of giving you the URL would it be possible for you to send the CSS to me since we are working on a development environment and need to retrace your CSS to the live environment later. That would be great :-)

    Thanks in advance!
    *alice.

  •  8,441
    Tahir replied

    Hey Again,

    Unfortunately i cant write the css without a live url . 

    Be.st 


    ThemeNectar Support Team 

  •   Alice replied privately
  •  8,441
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team