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; |
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
| .woocommerce-billing-fields__field-wrapper { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| row-gap: 1em; | |
| column-gap: 1em; | |
| } | |
| .woocommerce-billing-fields__field-wrapper > .form-row { | |
| width: auto; | |
| } |
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
| .wc-block-product-filters .wc-block-product-filters__overlay-dialog { | |
| transform: translateY(0) !important; | |
| pointer-events: auto !important; | |
| } | |
| .wc-block-product-filters .wc-block-product-filters__overlay-header, | |
| .wc-block-product-filters .wc-block-product-filters__open-overlay, | |
| .wc-block-product-filters .wc-block-product-filters__overlay-footer { | |
| display: none !important; | |
| } |
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( 'woocommerce_loop_add_to_cart_link', function( $link, $product ) { | |
| if ( ! $product->is_in_stock() || $product->is_on_backorder() ) { | |
| return '<button class="ct-open-quick-view ct-button" aria-label="Quick view toggle">Backorder Now</button>'; | |
| } | |
| return $link; | |
| }, 10, 2 ); |
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
| .single-product .ct-swatch-container { flex-direction: column-reverse; gap: 5px; align-items: center} | |
| .single-product .ct-swatch-container .ct-tooltip, | |
| .single-product .ct-swatch-container:hover .ct-tooltip { transform: none; transition: none; position: relative; opacity: 1; visibility: visible; background: transparent; } | |
| .single-product .ct-swatch-container .ct-tooltip:before, | |
| .single-product .ct-swatch-container .ct-tooltip:after { display: none; } |
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_the_terms', function($terms, $post_id) { | |
| if (is_single() && get_post_type($post_id) === 'post') { | |
| return array_filter($terms, fn($term) => $term->parent === 0); | |
| } | |
| return $terms; | |
| }, 10, 3); |
NewerOlder