Forum Replies Created
-
AuthorPosts
-
Sorry for the delayed reply.
I have login your site and check the shortcode Yolo Social and it still normal works.
Please remove the cached and check again.
Thanks.
Sorry for the delayed reply.
I re-add the hook for the single event, please reload your site and check again.
We will update this issue in the next version.
Thanks.
Hi,
I have changed the Footer 6 ID corresponding to each language. http://prntscr.com/ka6bo2
You can reload your site and check again.
Best regards,
tinhbeng.
This reply has been marked as private.This reply has been marked as private.Hi,
- Yolo Pricing: I have added a few CSS lines to the style.css of Child Theme -> Solved!.
- Mega Menu just supports to the parent menu item (don't support submenu).
Best regards,
tinhbeng
This reply has been marked as private.Hi,
I have changed some CSS lines to style.css (Child Theme), you can reload your site and check again.
Thanks.
Hi,
You can add these lines to Custom CSS or the style.css of Child Theme:
.woocommerce div.product .woocommerce-tabs ul.tabs,.woocommerce div.product .woocommerce-tabs .panel h2{
display: none;
}
.woocommerce div.product .woocommerce-tabs {
margin-top: 100px;
}
Hi,
You need to use the widget "Product Search" instead of "Search". https://prnt.sc/k94f7v
You want to add search by Product SKU: Currently, Woocommerce doesn't support this function.
To accomplish this I need to modify the search query and tell WordPress to also look at the _sku post meta field.
I have added a function to the functions.php file of Child Theme (the main site and staging site).
function iconic_product_search_join( $join, $query ) {
if ( ! $query->is_main_query() || is_admin() || ! is_search() || ! is_woocommerce() ) {
return $join;
}
global $wpdb;
$join .= " LEFT JOIN {$wpdb->postmeta} iconic_post_meta ON {$wpdb->posts}.ID = iconic_post_meta.post_id ";
return $join;
}
add_filter( 'posts_join', 'iconic_product_search_join', 10, 2 );
function iconic_product_search_where( $where, $query ) {
if ( ! $query->is_main_query() || is_admin() || ! is_search() || ! is_woocommerce() ) {
return $where;
}
global $wpdb;
$where = preg_replace(
"/\(\s*{$wpdb->posts}.post_title\s+LIKE\s*(\'[^\']+\')\s*\)/",
"({$wpdb->posts}.post_title LIKE $1) OR (iconic_post_meta.meta_key = '_sku' AND iconic_post_meta.meta_value LIKE $1)", $where );
return $where;
}
add_filter( 'posts_where', 'iconic_product_search_where', 10, 2 );
You can reload your site and check again.
Note: It will work fine with Woo default search function, but not sure with the custom search product in Motor Theme.
Best regards,
tinhbeng.
Hi,
I added the Child Them and the function above to the main site and staging site.
Why use a Child Theme?
https://codex.wordpress.org/Child_Themes
Best regards.
This reply has been marked as private.Hi,
It seems you have added these lines to Custom CSS:
.woocommerce.columns-4 .product-item-wrap, .single-product.columns-4 .product-item-wrap {
width: 25%; // Please remove this line
margin-bottom: 25px;
margin-top: 25px;
}
Please remove this line: width: 25%;
Best regards.
Hi,
You can use these lines CSS:
.add_to_cart_button i,.added_to_cart i,.btn_add_to_cart i,.product-quick-view i,.compare i,.add_to_wishlist i,.yith-wcwl-wishlistexistsbrowse a i,.yith-wcwl-wishlistaddedbrowse a i{
transform: scale(1.5);
-webkit-transform: scale(1.5);
-moz-transform: scale(1.5);
-o-transform: scale(1.5);
}
Hi,
You can add this function to the functions.php of Child Theme.
/**
* Rename product data tabs
*/
add_filter( 'woocommerce_product_tabs', 'woo_rename_description_tab', 98 );
function woo_rename_description_tab( $tabs ) {
$tabs['description']['title'] = esc_html__( 'More Information','yolo-motor' );// Rename the description tab
return $tabs;
}
-
AuthorPosts
