Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad706 committed Apr 13, 2018
1 parent 1572359 commit 6b1fd1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inc/woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
* Declare support
*/
function leto_wc_support() {
add_theme_support( 'woocommerce' );

add_theme_support( 'woocommerce', array(
'gallery_thumbnail_image_width' => 600,
) );
add_theme_support( 'wc-product-gallery-lightbox' );
}
add_action( 'after_setup_theme', 'leto_wc_support' );
Expand Down

0 comments on commit 6b1fd1b

Please sign in to comment.