Archived topic
hide mobile image blocked by wp-block-image
3 replies · Started by ken on December 14, 2020
Hi there,
I am trying to hide an image in mobile dislpay, the display:none works for images in other pages, but on this page it seems to be blocked/overwritten by the class wp-block-image size-large is-resized foundation_pic_desktop not sure why. Could somebody help me out here?
Hi Ken,
If you want to hide certain options in the mobile view, you can use the built-in hide-on classes:
https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes
Let me know if it helps!
Hi Ying,
that's brillant! It works! Thanks!
You are welcome!
Always happy to help :)