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
| /* Disable Autoplay Option in Customizing > General > Suggested Products > Mini Cart */ | |
| @media only screen and (max-width: 690px) { | |
| .ct-suggested-products--mini-cart .ct-slider-arrows { | |
| display: none; | |
| } | |
| .ct-suggested-products--mini-cart .flexy-items { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 1em; | |
| } |
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
| @media (max-width: 689.98px) { | |
| [data-products] .product { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| grid-column-gap: 1em; | |
| } | |
| [data-products] .product figure { | |
| grid-row: span 6; /* change this according to elements at right column */ | |
| } | |
| } |
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
| <script> | |
| document.addEventListener('click', function (e) { | |
| const ratingTrigger = e.target.closest( | |
| '.ct-woo-card-rating, .woocommerce-product-rating .star-rating' | |
| ); | |
| if (!ratingTrigger) return; | |
| const isSingle = document.body.classList.contains('single-product'); |
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
| /* flexy slider from right to left animation */ | |
| /* hide flexy pills/thumbnails - optional | |
| .ct-product-gallery-container .flexy-pills { | |
| display: none; | |
| } | |
| */ | |
| .ct-product-gallery-container .flexy-view .flexy-item-is-visible .ct-media-container img { | |
| --flexy-slide-pan-distance: 80px; |
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
| /* Product Card Wishlist Icon Change */ | |
| .ct-wishlist-button-archive .ct-icon-container svg { | |
| display: none; | |
| } | |
| .ct-wishlist-button-archive .ct-icon-container:before { | |
| content: ''; | |
| width: 15px; | |
| height: 15px; |
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_filter('get_terms_args', function ($args) { | |
| $args['orderby'] = 'term_order'; | |
| $args['order'] = 'ASC'; | |
| return $args; | |
| }); |
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_filter( | |
| 'blocksy:woocommerce:product-card:thumbnail:gallery-images', | |
| function ($gallery_images) { | |
| if (! is_product() && ! is_shop() && ! is_product_category()) { | |
| return $gallery_images; | |
| } | |
| global $product; |
NewerOlder