A
A
Audrey Doudka2022-01-19 20:33:46
WordPress
Audrey Doudka, 2022-01-19 20:33:46

How to hide/remove the price in the shopping cart in the mobile version of the site?

Hello!

Faced a problem. I am building a small WooCommerce website for the first time. On the site you need to remove or hide prices. I removed the prices in the cart via CSS, in the product cards via function.php. Everything works correctly in the web version, there are no prices in the cards or in the basket.

When viewed from a smartphone through a browser, everything is correct in the cards - there are still no prices, they appeared in the basket.

Question - how to remove prices from the cart in the mobile version of the site?

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2022-01-19
@firedragon

https://developer.mozilla.org/ru/docs/Web/CSS/@media I would set display: none
in css
for the desired resolution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question