We want to highlight the background of the cards in white, like on the main page
We want to highlight the background of the cards in white, like on the main page
Hello, everything is starting to shift, is it possible to do it without shifting, like in carousels?
Great, thanks a lot.
I’m dropping it, but please don’t update the plugins, I’ll do it myself if necessary 🙂
That’s how it becomes
Thank you, but can I do the same on my mobile?
Thanks, but can I level up some more?
Now it’s like this without margin, but I would like to add it without shifting the products (6 in a row as it is done below)
With your code, everything shifts, that’s almost what you need, but margin also shifts the cards and does not fit 6 in a row.
.products-grid > div.product {
background-color: #fefefe !important;
box-shadow: 0 20px 30px rgba(53, 51, 57, .06);
border-radius: 10px;
margin:3px;
}
I probably described it wrong, I also need to add a white background to the product cards with the grid type, as I understand it, you need to add something like: .products-slider .swiper-slide .product-grid (this does not work) {
background-color: #fafafa !important;
}
Thanks for the support! My topic “What do users search for in a website search?” has been successfully resolved.
Unfortunately the growth continues, I still see this when transitioning, I guess there is more to it
Maybe it would help to understand? Here at transition such a bar at such pages hangs, myself do not understand where they come from, maybe mobile version?
I completely uninstalled the child theme, downloaded it from themeforest again and installed it, completely removed the css but nothing helps, I can’t use the theme and the site
Unfortunately we don’t have support from Wp rocket and our legislation requires cookie notification, it’s a shame that the feature is there but the functionality isn’t, I don’t think we are the only ones using caching plugins
Unfortunately the problem remains, I go to the main page, agree with cookies, and then on the main page every time pops up
As far as I understand it’s a script exception, but the thing is that we don’t use these menus, delayed bookmarks and other things at all, we have only caching activated in the plugin and that’s it. I see in the Advanced menu: Non-cacheable Cookies
Specify full or partial cookie IDs that will not cache the page (one per line).
Maybe something needs to be added here?
Great, thank you:)
Thanks, can you take a look at the test? Apparently Wp rocket is the problem, turning it off seems to make everything ok.
Maybe the problem is Wp rocket, we have it here.
Unfortunately, these links are still popping up in the console, is there any other hook? Maybe they are pulled from the cart, from the wish page or from cards?
Thanks, on pc not bad, but there is still room on the right side, and on mobile the whole thing shifts and is out of width
2. there is no editor in staticblock: WPBakery Page Builder
Hello, I deleted the child theme, updated the theme and plugins, put the child theme from a purchased theme, nothing helped, I don’t see any child themes on your link
That’s how you had a skinned man in there:
function change_parent_category_query($query) {
if( ! is_admin() && $query->query_vars[‘post_type’] == ‘product’) {
global $wpdb;
$parent_id = get_queried_object()->term_id;
if( isset($parent_id) && is_numeric($parent_id) ){
$all_subcategory_ids = $wpdb->get_results( $wpdb->prepare( “SELECT term_taxonomy_id FROM {$wpdb->prefix}term_taxonomy WHERE taxonomy = ‘product_cat’ AND parent = %d”, $parent_id ) );
$list_ids = array();
foreach( $all_subcategory_ids as $asi ){
$list_ids[] = esc_attr( $asi->term_taxonomy_id );
}
$tax_query = $query->get( ‘tax_query’ );
$tax_query[] = array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘term_id’,
‘parent’ => 0,
‘terms’ => $list_ids,
‘operator’ => ‘NOT IN’
);
$query->set( ‘tax_query’, $tax_query );
}
}
}
add_action( ‘pre_get_posts’, ‘change_parent_category_query’ );
I will try to describe the problem, I do not want the parent category to display products from child categories, only those products that I myself will select the checkbox, example:
Category “tables” it has a subcategory of wooden, metal and other
In the category tables are displayed randomly goods from the categories of wooden, metal, but it should not be so, I want to assign the goods that will be displayed in the parent category “Tables”, go for example to the product Wooden table and select the display in the category Tables.
I have thrown our category Latex, it shows a lot of products from child categories, but in fact should be only 1 product displayed, because 1 single product added to it.
Here is my thread here, you have given me a solution, but it doesn’t work for some reason, I put the hook in the function: https://www.8theme.com/topic/how-do-categories-with-subcategories-display-only-the-desired-products/#post-418254.
didn’t seem to help.
I found a piece of code in the css:
.products-list .content-product .product-image-wrapper img {
width: auto;
}
I remove it, everything is aligned, but it still displays crookedly and the buttons to cart jump when hovering..I can’t figure it out without you:( I want it to be beautiful, like you have in your demo.
Solved:
.product-slide .product-details .quantity-wrapper .button, .product-grid .product-details .button:not(.compare) {
right: 0;
position: absolute;
}
The code didn’t work, only on categories, how to align buttons on the main page too?
.products-grid .product-details .button:not(.compare) {
right: 0;
position: absolute;
}