Home › Forums › WoodMart support forum › problem with the dokan chat button › Reply To: problem with the dokan chat button
Luke Nielsen
Hello,
1. These buttons from the Docan plugin are situated in the same HTML tag as the default “Add to cart” button from Woocommerce, therefore our “Catalog mode” option hides this default tag with the buttons of the Docan. In general, it’s not a theme issue but I have a suggestion for you.
You can enable the “Catalog mode” for the Shop page using our theme presets in Theme Settings -> Settings Presets -> create a preset with the condition as in the below screenshot:
https://monosnap.com/file/5vMURyoCszRaX1T1XrDG4O1rDINey6
Then navigate to Theme Settings of this preset -> Shop -> enable the “Catalog mode” option.
https://monosnap.com/file/79pRKLKrdQ8pBfBPjx7VrHu1sUfddL
Thus you will hide all “Add to cart” buttons for the Shop page. On the product page the “Add to cart” button can be hidden with the help of the below code:
.single_add_to_cart_button {
display: none;
}
As a result, all “Add to cart” buttons will be hidden and the buttons from the Docan plugin will be displayed:
https://monosnap.com/file/tHQRdTMmiXfDSpJnvCAegnI8wFDU8m
2. The below code will help you to solve the issue with the Docan widget.
.dokan-theme-woodmart .dokan-single-store .store-open-close-notice {
z-index: 10 !important;
}
Both custom codes enter into the “Global Custom CSS” area in Theme Settings -> Custom CSS.
Kind Regards