removed hover effect from front page products
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 13 Nov 2015 21:56:21 +0000 (16:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 13 Nov 2015 21:56:21 +0000 (16:56 -0500)
inc/structure/structure.php
js/galleria.min.js
style.css

index 76968d1..d86dd33 100644 (file)
@@ -50,7 +50,7 @@ function g_layout_adjustments() {
  * @return void
  */
 function g_product_loop_title_price_wrap() {
-       echo '<section class="g-product-title">';
+       echo '<section class="g-product-title animated fadeIn">';
 }
 
 /**
index 8a9378b..8199ff5 100644 (file)
@@ -1 +1,3 @@
-!function(){jQuery(window).load(function(){jQuery("body").addClass("loaded"),jQuery(".site").addClass("animated fadeIn"),jQuery(".single_add_to_cart_button, .checkout-button").addClass("animated bounce");var t=jQuery(".star-rating > span").width();jQuery(".woocommerce-product-rating .star-rating > span").css("width",0),jQuery(".woocommerce-product-rating .star-rating > span").animate({width:t},1500,function(){}),jQuery(".woocommerce-tabs ul.tabs li a").click(function(){var t=jQuery(this).attr("href");jQuery(".woocommerce-tabs").find(t).addClass("animated bounceInUp")}),jQuery(window).width()>767&&(jQuery("body").hasClass("page-template-template-homepage")||jQuery("body").hasClass("storefront-full-width-content")||jQuery("body").hasClass("page-template-template-fullwidth-php")||jQuery("body").hasClass("single-product")||jQuery("ul.products").masonry({columnWidth:"li.product",itemSelector:"li.product",percentPosition:!0}),jQuery("ul.products li.product:not(.product-category)").hover(function(){jQuery(this).find(".g-product-title").addClass("animated fadeIn"),jQuery(this).find(".button").addClass("animated bounceIn")},function(){jQuery(this).find(".g-product-title").removeClass("fadeIn"),jQuery(this).find(".button").removeClass("bounceIn")}),jQuery("ul.products li.product .button").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}),jQuery("ul.products li.product-category .g-product-title").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}))})}();
\ No newline at end of file
+!function(){jQuery(window).load(function(){
+    jQuery('.page_item.page-item-16').append("<ul><li>test</li><li>test</li><li>test</li><li>test</li> </ul>");
+    jQuery("body").addClass("loaded"),jQuery(".site").addClass("animated fadeIn"),jQuery(".single_add_to_cart_button, .checkout-button").addClass("animated bounce");var t=jQuery(".star-rating > span").width();jQuery(".woocommerce-product-rating .star-rating > span").css("width",0),jQuery(".woocommerce-product-rating .star-rating > span").animate({width:t},1500,function(){}),jQuery(".woocommerce-tabs ul.tabs li a").click(function(){var t=jQuery(this).attr("href");jQuery(".woocommerce-tabs").find(t).addClass("animated bounceInUp")}),jQuery(window).width()>767&&(jQuery("body").hasClass("page-template-template-homepage")||jQuery("body").hasClass("storefront-full-width-content")||jQuery("body").hasClass("page-template-template-fullwidth-php")||jQuery("body").hasClass("single-product")||jQuery("ul.products").masonry({columnWidth:"li.product",itemSelector:"li.product",percentPosition:!0})/*,jQuery("ul.products li.product:not(.product-category)").hover(function(){jQuery(this).find(".g-product-title").addClass("animated fadeIn"),jQuery(this).find(".button").addClass("animated bounceIn")},function(){jQuery(this).find(".g-product-title").removeClass("fadeIn"),jQuery(this).find(".button").removeClass("bounceIn")})*/,jQuery("ul.products li.product .button").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}),jQuery("ul.products li.product-category .g-product-title").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}))})}();
\ No newline at end of file
index 8805fdd..b572bbb 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1122,6 +1122,10 @@ p.stars a {
   .storefront-full-width-content.single-product .upsells ul.products li.product {
     width: 25%; }
 
+    .page_item.page-item-16:hover, .page_item.page-item-16 a:hover{
+        background: black;
+        color: white;
+    }
   .main-navigation {
     position: relative; }
     .main-navigation ul.menu > li:first-child:before,