Hide a component on mobile devices only | Community
Skip to main content
New Participant
October 16, 2015
Solved

Hide a component on mobile devices only

  • October 16, 2015
  • 1 reply
  • 726 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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 reply

Feike_Visser1
Feike_Visser1Accepted solution
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.