WordPress.org

Ready to get started?Download WordPress

Forums

YITH WooCommerce Zoom Magnifier
[resolved] Edit CSS (4 posts)

  1. HNORTHWAY
    Member
    Posted 1 year ago #

    I like this plugin very much, but need some padding and size limits on the thumbnails. I can't see where to edit this? Need to add this:

    .yith_magnifier_gallery li {
    display: block;
    float: left;
    padding-right: 20px;
    position: relative;
    width: 100px;
    }

    http://wordpress.org/extend/plugins/yith-woocommerce-zoom-magnifier/

  2. yithemes
    Member
    Plugin Author

    Posted 1 year ago #

    Hello, add this code at the end of your functions.php file

    function yith_wcmg_custom_style() {
      ?>
      <style type="text/css">
      .yith_magnifier_gallery li {
        display: block;
        float: left;
        padding-right: 20px;
        position: relative;
        width: 100px;
      }
      </style>
      <?php
    }
    add_action( 'wp_head', 'yith_wcmg_custom_style' );
  3. HNORTHWAY
    Member
    Posted 1 year ago #

    Done! Thanks so much for the fast reply!

  4. lukeallen1986
    Member
    Posted 2 months ago #

    i'm trying to adjust

    .caroufredsel_wrapper {
    margin: 0px 0px 0px 0px;
    }

    but it seems to be having no effect on the element.style... how do I fix this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic