Last active
November 23, 2017 00:07
-
-
Save ofernandolopes/f4cd01c1b4859c59f758aa3979f0b380 to your computer and use it in GitHub Desktop.
Hide WooCommerce product images
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
//Hide WooCommerce product images | |
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 ); |
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
/*Aligns the contents of the product after you remove the image from the product.*/ | |
.woocommerce div.product div.summary, .woocommerce #content div.product div.summary, .woocommerce-page div.product div.summary, .woocommerce-page #content div.product div.summary { | |
float: right!important; | |
width: 100%!important; | |
margin-bottom: 2em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment