Last active
November 22, 2017 04:58
-
-
Save nfmohit/4cefe356ebacd85d2a3bb9d1fe4fa567 to your computer and use it in GitHub Desktop.
Make Woocommerce product grid into 3 columns with CSS
This file contains hidden or 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
| <?php | |
| add_action('wp_head', 'woo3cols'); | |
| function woo3cols() { | |
| echo '<style>.woocommerce ul.products li.product {clear: none !important;width: 32% !important;float: none !important;display: inline-block;vertical-align: top;}</style>'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment