This topic has 9 replies, 3 voices, and was last updated 2 years, 10 months ago ago by Alex007
Hello. In which files editing the bottom menu add to the cart in the product card. Which style css file allows i to modify this add to cart button?
Hello,
If you want to customize styles of the single product add to cart button you can use child theme style.css or Theme Options > Custom CSS.
If you want to add any custom content below that button you can use WooCommerce hooks https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/ for these purposes and add them to child theme functions.php.
Regards
I mean a opening block at the bottom with a black buy now button on the product page when scrolling down the page. Here is the block to edit.
Hello,
Are you talking about Sticky add to cart https://prnt.sc/26gbv4i ?
What do you want to add/change there? Because sticky add to cart function is in XStore core plugin and it’s not so easy to change HTML content of that area. If you just want to change the styles then let me know and I’ll provide you custom CSS.
Regards
Yes. Sticky menu. I want change only style.
Hello,
Ok, what styles do you want to have for that button? Explain in more detail or provide the screenshot.
Regards
Hello. I have a menu showing a choice of quantity to add to cart. And I need to apply styles to increase the size of this block. Because I do not fit the number of product (numbers) in the block. Therefore, somewhere me need to stretch, somewhere, on the contrary, reduce.
And the second question. In the product card, when I open a photo, it opens 2 times. That is, I click on the photo, it opens. I click on an empty space, the photo closes, but one more photo remains open. And only when you click a second time, it closes completely. What could be the problem? Wrote data to enter the site to view the product card.
You can also just see the sticky menu in this example. Then it will be clear which styles I want to adjust.
Hello,
Try to add the next code in Theme Options > Theme custom CSS > Mobile:
.single-product .etheme-sticky-cart .cart {
display: block;
padding: 10px 0;
}
Edit page using Elementor page builder > go to Site settings > Lightbox > Image Lightbox > disable http://i.prntscr.com/LaTcdLASTPqlWt-6ejim-w.png
Regards
Perfect. You the best support for my life)
Tagged: add to cart, bottom menu, editing, product card, templates, woocommerce, wordpress
The issue related to '‘In which files editing the bottom menu add to the cart in the product card’' has been successfully resolved, and the topic is now closed for further responses