This topic has 8 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler
Hi,
In order to have a third party wholesale plugin work correctly on my site I have modified my functions.php file with a script that brought out the quantity selectors on my shop page https://www.laatusuklaa.fi/kauppa/ and wherever I put products available, like on my front page https://www.laatusuklaa.fi/
However, I don’t want to see it. It needs to be there (can not be REMOVED), but it should be invisible. How would I hide it?
Please see https://prnt.sc/j4n92t and https://prnt.sc/j4n9dl
BUT: The quantity selector needs to stay visible on single product pages: https://prnt.sc/j4nauy and in the cart and checkout pages.
Hello,
Try to use this css code:
.products-grid .content-product .quantity, .productCarousel .content-product .quantity{
display: none;
}
Regards
Thanks, but I can’t see any difference in the end result…
Have you added the code in Theme Options > Custom css or in style.css file of the child theme? Have you cleared cache?
Regards
I put it in custom css. I have cleared browser cache and even went to another computer to check it with different browser.
I do not see the code in the console on your site. Do you use CDN? If yes, clear cache and waite for automatic clearing, if not, provide me temporary wp-admin access so I can check if there a problem in the content of Custom css field.
Regards
I’m told that my site does use CDN but I got the site cache turned off and now it works as I hoped. Thanks Rose!
You’re welcome!
Have a nice day.
Regards
You must be logged in to reply to this topic.Log in/Sign up