View blc-2-product-card-actions-icon-color.css
This file contains 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
.ct-woo-card-extra[data-type="type-1"] .ct-button { | |
--theme-icon-color: var(--theme-palette-color-1); | |
--trigger-background: var(--theme-palette-color-5); | |
--theme-icon-hover-color: var(--theme-palette-color-1); | |
--trigger-hover-background: var(--theme-palette-color-8); | |
} |
View blc-single-product-gallery-shopify-style.css
This file contains 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 (min-width: 690px) { | |
.thumbs-left .flexy-pills { top: 20px; left: 20px; height: calc(100% - 40px); } | |
.thumbs-left .flexy { margin: 0; } | |
.flexy-pills ol { max-width: 70%; --thumbs-width: 100%; gap:5px; } | |
} |
View woo-change-shop-title.php
This file contains 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( 'document_title_parts', function ( $title ) { | |
if ( is_shop() && isset( $title['title'] ) ) { | |
$title['title'] = 'Products'; | |
} | |
return $title; | |
}); |
View blc-product-reviews-rename-cpt.php
This file contains 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( 'init', function () { | |
global $wp_post_types; | |
if ( isset( $wp_post_types['blc-product-review'] ) ) { | |
$wp_post_types['blc-product-review']->label = 'Product Reviews'; | |
$wp_post_types['blc-product-review']->labels->name = 'Product Reviews'; | |
$wp_post_types['blc-product-review']->labels->singular_name = 'Product Review'; | |
$wp_post_types['blc-product-review']->labels->menu_name = 'Product Reviews'; | |
$wp_post_types['blc-product-review']->labels->all_items = 'All Product Reviews'; |
View blc-one-column-cart-checkout.css
This file contains 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
.ct-woocommerce-cart-form, form.woocommerce-checkout { grid-template-columns: 1fr; grid-row-gap: 100px; } |
View blc-change-product-loop-card-image-size-ratio.php
This file contains 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_product_get_image', function ($image, $product, $size, $attr, $placeholder) { | |
if (has_term('custom-category', 'product_cat')) { | |
$image = blocksy_image([ | |
'no_image_type' => 'woo', | |
'attachment_id' => $product->get_image_id(), | |
'size' => 'full', | |
'ratio' => '6/4', | |
'tag_name' => 'span', | |
]); |
NewerOlder