Home › Forums › Themes Support › Claue › Add to cart button mobile
- This topic has 7 replies, 2 voices, and was last updated 7 years, 10 months ago by
Harry.
-
AuthorPosts
-
-
February 1, 2018 at 7:58 am #16639
Hi,
The add to cart button on the mobile is not appearing. I currently have it on desktop enabled, but I need it to appear when someone clicks on a product on mobile as I have disabled the product image link and title and use the add to cart button as an external link.
Many thanks,
-
February 1, 2018 at 8:00 am #16640This reply has been marked as private.
-
February 1, 2018 at 10:30 am #16643
Hi,
Please add below code to Claue > Theme Option > General Layout > Custom CSS
@media only screen and (max-width: 1024px) {
.yith-wcwl-add-to-wishlist ~ .product-btn {
display: inline-block;
top: 50% !important;
left: 50% !important;
transform: translate3d(-50%, -50%, 0);
}
}Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
February 1, 2018 at 7:52 pm #16648
Hi this code is only showing the add to wishlist button, I was refering to the add to cart button.
thank you
-
February 1, 2018 at 7:57 pm #16649
Also i would like it to only appear on when clicked on. To be honest on mobile I wanted the product image to open external link when clicked on.
-
February 1, 2018 at 8:11 pm #16652This reply has been marked as private.
-
February 1, 2018 at 8:14 pm #16653
Just adding to my issue above, I beleive this will be an on click action for mobile…?
-
February 1, 2018 at 10:22 pm #16656
Hi,
Please change code to
@media only screen and (max-width: 1024px) {
.yith-wcwl-add-to-wishlist ~ .product-btn,
.products .product-type-variable .product-btn {
display: inline-block !important;
top: 50% !important;
left: 50% !important;
transform: translate3d(-50%, -50%, 0);
}
}Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.