• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 04.04.21, 06:02
  • Opened by: John Kwak
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21215 - Is there a way to prevent images or text from appearing on the mobile screen through CSS without usi

Is there a way to prevent images or text from appearing on the mobile screen through CSS without using AMP?

Comments

Fred 04 Apr 2021, 10:53

just add following CSS.

@media (max-width:500px) {
.your_image_selector {display:none}
}

where replace “your_image_selector” with a your real image class https://www.w3schools.com/cssref/sel_class.asp