- This topic has 10 replies, 2 voices, and was last updated 5 years ago by
root.
-
AuthorPosts
-
July 4, 2020 at 4:34 pm #10999
root
KeymasterHello,
I want to add a light grey border to the product card, so the whole product card will have border even after hover effect.
Please help with that.
Thank you,
July 6, 2020 at 6:57 am #11005root
KeymasterHi again 🙂
use the below code and change the color code with your desire color :
.woocommerce div.products div.product.with-border .add_to_cart_btn_wrap {
border: 1px solid #b7b7b7;
}Add this code :
Wordpress Dashboard -> theme setting -> additional Scripts -> Custom CSSbest Regards
July 6, 2020 at 9:00 am #11010root
KeymasterHello,
Thank you for your swift response.
I applied the code however, there were no changes on the product card.
Please try from your side, you already have the log in information.
Thank you 🙂
July 7, 2020 at 8:04 am #11013root
KeymasterHi again,
I just check your website now and seems this code works fine :
https://imgur.com/undefined
https://dukkanalhara.com/shop/Regards
July 7, 2020 at 8:13 am #11014root
KeymasterHello 🙂
I am trying to open your screenshot link but it shows 404 error.
could you please share with me anther screenshot.
Thank you,
July 7, 2020 at 8:16 am #11016root
KeymasterSorry,
I saw now it is ok, but what I want is a border for the whole product card (photo, title, price, buttons) not around the product photo.
Thank you,
July 23, 2020 at 11:00 am #11063root
KeymasterHello,
I did not get any reply about my request! I was asking to have a boarder around the whole product card and the code you provided did not work.
I used this code and it worked but only on PC and tablet view, it did not work on mobile view.
.woocommerce div.products.buttonsappearunder div.product, .woocommerce.wc-shortcode.carousel:not(.no-gutter) div.products.buttonsappearunder div.product {
margin: -0.5px!important;
border: 1px solid #999999;
}Kindly help me in how to apply the same boarder on the mobile view.
Thanks,
July 23, 2020 at 11:07 am #11064root
KeymasterI did not get any reply about my request! I was asking to have a boarder around the whole product card and the code you provided did not work.
I used this code and it worked but only on PC and tablet view, it did not work on mobile view.
.woocommerce div.products.buttonsappearunder div.product, .woocommerce.wc-shortcode.carousel:not(.no-gutter) div.products.buttonsappearunder div.product {
margin: -0.5px!important;
border: 1px solid #999999;
}Kindly help me in how to apply the same boarder on the mobile view.
Thanks,
July 25, 2020 at 5:59 am #11065root
Keymastermorning ahmad
use this code :
.woocommerce div.products.buttonsappearunder div.product, .woocommerce.wc-shortcode.carousel:not(.no-gutter) div.products.buttonsappearunder div.product { margin: -0.5px!important; border: 1px solid #999999 !important; }
I edit this code on your website and seems in Desktop and mobile border now shown border
July 25, 2020 at 7:29 am #11068root
KeymasterThank you so much!
July 26, 2020 at 7:36 am #11071root
KeymasterYour Welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.