This topic has 8 replies, 2 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler
Hello, how can on this design : https://ibb.co/TYCRdV0 always show add to cart button, because at the moment on hover hide price and show button, we wanna show price and add to cart button always
Hello, Focu5,
Thank you for contacting us and for using XStore.
Please test different Design Types in Theme Options > WooCommerce > Shop > Products design.
OR use custom CSS code (Theme Options > Theme custom CSS):
.product-view-light .switcher-wrapper {
height: 60px;
}
.product-view-light.et_cart-on .content-product:hover .price-switcher {
transform: none;
-webkit-transform: none;
}
.product-view-light .price-switch {
height: 25px;
}
Kind Regards,
8theme team
Thank you for reply, i had added custom css but still same price are hiding on hover and then showing cart button.
also how can i make add to cart black button and on hover white
On product archive page everything fine add to cart button showing all the time, but on home page we are using product ajax tabs and products elements but its not working, i added custom css to that elements but still same issue. Also same issue with related product and upsell products element. Global custom css changing view only on archive/shop page
Hello, Focu5,
Please change the previous code in Theme Options to:
.product-view-light .switcher-wrapper {
height: 60px !important;
}
.product-view-light.et_cart-on .content-product:hover .price-switcher {
transform: none !important;
-webkit-transform: none !important;
}
.product-view-light .price-switch {
height: 25px !important;
}
Kind Regards,
8theme team
Perfect thanks its working
Hello, Focu5,
Thank you for your response.
Custom code for price size:
.product-view-light .product-details .price {
font-size: 18px;
}
Have you checked all Design Types and other settings in Theme Options > WooCommerce > Shop > Products design?
Maybe it would be better to select a type with the button, and then change colors of this button via Theme Options > Styling.
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up