Hide a component on mobile devices only | Adobe Higher Education
Skip to main content
October 16, 2015
Risolto

Hide a component on mobile devices only

  • October 16, 2015
  • 1 risposta
  • 728 visualizzazioni

Hello all,

Editing a website in the CQ5.6.1 WCM, is it possibile to hide a component based on the source device that requested the page?

For example: I have a normal page with some components in it that will be displayed if the webpage is visited via desktop browser, but I want some of those components to be hidden if the same page is visited using a tablet (let's say iPad). Is it feature available by default in CQ 5.6.1?

Thank you all!

Questo argomento è stato chiuso alle risposte.
Migliore risposta di Feike_Visser1

Can't you do this via css? Then you don't have to re-render the page for different devices.

This is quite common for responsive design.

1 risposta

Feike_Visser1
Adobe Employee
Adobe Employee
October 16, 2015

Can't you do this via css? Then you don't have to re-render the page for different devices.

This is quite common for responsive design.