Archived topic
Exclude Elements based on Devices
1 reply · Started by Sars on March 28, 2021
Dear Team,
How to exclude elements or to set rules to elements so that I exclude certain elements on mobile or desktop or tab and to show certain elements only on devices I select?
Thank you
Hi there,
the easiest and most reliable method is to use CSS to remove the block.
There is no stable method of actually removing the element from the HTML that is not prone to breaking when a server has page caching.
What element are you tying to display/hide based on device type ?