Plugin Directory

Changeset 1774521


Ignore:
Timestamp:
11/24/2017 08:09:37 AM (8 years ago)
Author:
adpu
Message:

Changes in css styles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sif/tags/1.02/admin/class-sif-admin.php

    r1774519 r1774521  
    105105public function sif_my_custom_styles()
    106106{
    107       if( is_woocommerce() ){
     107
    108108      echo '<style type="text/css">.woocommerce ul.products li.product a img{margin:0}ul.products li.product a.woocommerce-LoopProduct-link img{height:auto;object-fit: cover;}ul.products li.product a.woocommerce-LoopProduct-link:hover img{height:0}ul.products li.product a.woocommerce-LoopProduct-link img.rollover-image{height:0}ul.products li.product a.woocommerce-LoopProduct-link:hover img.rollover-image{height:auto;object-fit: cover;}</style>';
    109     }
     109
    110110}
    111111}
Note: See TracChangeset for help on using the changeset viewer.