uptmzd
Forum Replies Created
-
I added the code you provided to my staging website:
/* Hide product prices on product pages */
.woocommerce-Price-amount {
display: none;
}
/* Hide variable options dropdown */
form.cart .variations {
display: none;
}But it doesn’t hide the prices on the category pages, just the product pages. Please what else do I need to add to the code to hide the prices on the category pages?
Staging website so you can see: https://woocommerce-856495-2958252.cloudwaysapps.com/packages/weddings/ (notice how the prices are still showing on the category page)
If you go on a product page, the prices don’t show up anymore which is good, but if you scroll down to the related products section the prices show there too (I’m assuming I need another line of code for this too?) https://woocommerce-856495-2958252.cloudwaysapps.com/product/anniversary-limousine/
1 – I already have WPML installed, will this work? Instead of Loco Translate?
2 – I’m assuming I add this code in Appearance > Customize > Additional CSS?
This is currently what my additional CSS section looks like. Where would I add those lines of code you sent?
/* Hide element on Desktop */
@media only screen and (min-width: 981px) {
.hide-on-desktop {
display: none !important;
}
}/* Hide element on Tablet/Phone */
@media only screen and (max-width: 980px) {
.hide-on-mobile-tablet {
display: none !important;
}
}html .theme-page .theme-page-header .theme-page-header-bottom .theme-component-button
{
display:block;
}3 – Yes its a seperate page. This is the URL to be exact https://linklimousines.com/book/
- This reply was modified 1 year, 6 months ago by uptmzd.