Problem with some fields

This topic contains 16 reply and 2 voices, and was last updated by Loukia 8 years, 7 months ago
Viewing 15 Posts - 1 through 15 (of 16 total)
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 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 Loukia

I have already did it.

add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);

August 5, 2015 at 6:15 pm 65467
Nayem Nayem

Please insert !Important in every style. Hope it will work.

August 5, 2015 at 8:25 pm 65514
Loukia Loukia

sorry but your answer is not clear. i don’t understand you

August 6, 2015 at 12:09 pm 65571
Nayem Nayem

You can try like this-

.woocommerce div.product form.cart, .woocommerce div.product p.cart {
display: none !important;
}

Thanks.

August 6, 2015 at 12:54 pm 65585
Loukia 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 Nayem

Hello,

Which theme are you using?

August 6, 2015 at 3:36 pm 65622
Loukia Loukia

dokan theme

August 6, 2015 at 4:12 pm 65635
Nayem Nayem

You can add this line

.navbar-top-area .dokan-cart-amount-top {
  display: none;
}
August 6, 2015 at 9:38 pm 65797
Loukia Loukia

it disables the amount but not the cart and the dropdown arrow

August 8, 2015 at 10:38 am 65901
Nayem 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 Loukia

http://www.simposell.com

August 9, 2015 at 4:20 pm 66111
Nayem Nayem

Hello,

Please add this style in your style.css file-

.navbar-right li:nth-child(1) {
    display: none;
}
August 9, 2015 at 4:40 pm 66119
Loukia 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 Nayem

Hello,

We have your site details. So we will add this in the code.

Thanks.

Viewing 15 Posts - 1 through 15 (of 16 total)