Problem with some fields
Author | Posts |
---|---|
August 4, 2015 at 11:21 am 65171 | |
Loukia | Hello, i have added the following code into the child theme. a.dropdown-toggle { display:none; } .woocommerce ul.products li.product .item-button, .woocommerce-page ul.products li.product .item-button { display: none; } .woocommerce div.product form.cart, .woocommerce div.product p.cart { display: none; } it was working fine but after update i can still see the cart option to the main header. also i disabled the option add to cart in the single product page and the option add to cart where the picture of the product appears. it was working fine but now it appeared again why? |
August 4, 2015 at 6:00 pm 65258 | |
Nayem | Hello, If you are doing this through child theme then you have to enqueue the style.css file of the parent theme in the function.php file. Thanks. |
August 4, 2015 at 9:34 pm 65288 | |
Loukia | I have already did it. add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); |
August 5, 2015 at 6:15 pm 65467 | |
Nayem | Please insert !Important in every style. Hope it will work. |
August 5, 2015 at 8:25 pm 65514 | |
Loukia | sorry but your answer is not clear. i don’t understand you |
August 6, 2015 at 12:09 pm 65571 | |
Nayem | You can try like this-
Thanks. |
August 6, 2015 at 12:54 pm 65585 | |
Loukia | it works but when i am trying to get rid of the cart on the header the code is this a.dropdown-toggle { display:none !important; } but when i put it in the child theme deactivated seller dashboard and user name menu |
August 6, 2015 at 3:28 pm 65618 | |
Nayem | Hello, Which theme are you using? |
August 6, 2015 at 3:36 pm 65622 | |
Loukia | dokan theme |
August 6, 2015 at 4:12 pm 65635 | |
Nayem | You can add this line
|
August 6, 2015 at 9:38 pm 65797 | |
Loukia | it disables the amount but not the cart and the dropdown arrow |
August 8, 2015 at 10:38 am 65901 | |
Nayem | Hello Loukia, Please provide your website URL here. Let me check the button css. Thanks. |
August 9, 2015 at 3:22 pm 66103 | |
Loukia | |
August 9, 2015 at 4:20 pm 66111 | |
Nayem | Hello, Please add this style in your style.css file-
|
August 9, 2015 at 4:40 pm 66119 | |
Loukia | unfortunately is not working. i copied and pasted this code to the child theme style.css but still nothing. on mozilla is ok but not for google chrome |
August 9, 2015 at 4:44 pm 66123 | |
Nayem | Hello, We have your site details. So we will add this in the code. Thanks. |