Plugin Directory

Changeset 1773959


Ignore:
Timestamp:
11/23/2017 11:42:46 AM (8 years ago)
Author:
adpu
Message:

Changes in css styles

File:
1 edited

Legend:

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

    r1773930 r1773959  
    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.