Last active
January 10, 2017 11:13
-
-
Save anastransvelo/5c611a3d549475dc833b782147bc666c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 92 ); | |
add_action( 'wp_loaded', 'sx_child_wp_loaded' ); | |
function sx_child_wp_loaded() { | |
remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 40 ); | |
remove_action( 'sportexx_footer', 'sportexx_footer_social_icons', 30 ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.products .product .button, | |
.products .product .added_to_cart { | |
display: inline-block; | |
padding: .718em 3em; | |
background-color: #000; | |
max-width: 180px; | |
margin: 5px auto 24px auto; | |
} | |
.products .product .product-item { | |
text-align: center; | |
} | |
.products .product .button.added { | |
display:none; | |
} | |
.products .product .price, | |
.products .product h3 { | |
text-align: left; | |
} | |
.products .product .button:hover, | |
.products .product .added_to_cart:hover { | |
background-color: #000; | |
color:#fff; | |
} | |
.block-social:before { | |
display:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment