That code didnât work. When I add it, it just removed the thumbnails all together. I tried playing around with the function.php to add and remove the following code:
function my_wc_product_gallery_setup() {
add_theme_support( âwc-product-gallery-zoomâ );
add_theme_support( âwc-product-gallery-lightboxâ );
add_theme_support( âwc-product-gallery-sliderâ );
}
add_action( âafter_setup_themeâ, âmy_wc_product_gallery_setupâ, 100 );
I also tried:
function my_wc_product_gallery_setup() {
remove_theme_support( âwc-product-gallery-zoomâ );
remove_theme_support( âwc-product-gallery-lightboxâ );
remove_theme_support( âwc-product-gallery-sliderâ );
}
add_action( âafter_setup_themeâ, âmy_wc_product_gallery_setupâ, 100 );
but iâve removed any custom function.php to start from scratch.
Hereâs my CSS from the global section:
.woocommerce .price > .amount, .woocommerce .price > ins > .amount, .woocommerce li.product .entry-header h3 a:hover, .woocommerce .star-rating:before, .woocommerce .star-rating span:before {
color: #1abc9c;
}
.vc_row {
margin-right: auto;
margin-left: auto;
}
nav.woocommerce-breadcrumb {
margin-right: auto;
margin-left: auto;
}
.format-standard .entry-title::before {
content: ââ;
}
.x-pagination ul {
display: inline-block;
margin: 0;
padding: 6px;
background-color: #7BBEE4;
border-radius: 100em;
}
.x-pagination span.current, .x-portfolio-filters-menu, .widget_tag_cloud .tagcloud a, .h-feature-headline span i, .widget_price_filter .ui-slider .ui-slider-handle {
background-color: #6290A5;
}
.x-navbar .x-nav > li.x-menu-item-woocommerce > a .x-cart > span.outer {
color: #ffffff;
background-color: #7BBEE4;
}
.x-navbar .x-nav > li.x-menu-item-woocommerce > a:hover .x-cart > span.outer {
color: #ffffff;
background-color: #7BBEE4;
}
.x-navbar .x-nav > li.x-menu-item-woocommerce > a:hover .x-cart > span.outer {
color: #ffffff;
background-color: #140F28;
}
.x-navbar .x-nav > li.x-menu-item-woocommerce > a .x-cart {
color: #7BBEE4;
background-color: #ffffff;
}
.x-navbar .x-nav > li.x-menu-item-woocommerce > a:hover .x-cart {
color: #140F28;
background-color: #ffffff;
}
mark {
background-color: white;
color: black;
}
h2.woocommerce-loop-category__title {
background-color: white;
color: black;
margin-top: 25px;
font-size: 265.7%;
}
.x-container.max {
margin-right: auto;
margin-left: auto;
max-width: 1200px;
}
.flex-control-nav.flex-control-thumbs {
top: auto;
}