Show/Hide component option for responsive grid layout in AEM 6.3 sp2 | Community
Skip to main content
Level 2
Mar 20, 2019 2:30 PM UTC

Show/Hide component option for responsive grid layout in AEM 6.3 sp2

There are two components component A and component B. I am trying to hide component A in medium breakpoint but allow the component in large breakpoint. It works fine. I am trying to hide component B in large breakpoint but allow in medium breakpoint. It is not working this way. If we hide it in large breakpoint it hides everywhere. PLease let me know is this the behaviour or a config that i have to enable.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

arunpatidar
New Participant
Mar 20, 2019 3:31 PM UTC

Are you using layout mode ?

Configuring Layout Container and Layout Mode

Translate
Arun Patidar
Gaurav-Behl
Level 10
Mar 20, 2019 3:06 PM UTC

How are components A & B related to each other?  Are they siblings or parent-child?  Do you observe this in author or publish?

Did you write "code/media queries" to show component B in "medium" breakpoint?

Please share the screenshots/video/gif and media queries code for same.

Translate
smacdonald2008
Level 10
Mar 20, 2019 2:34 PM UTC

For reference - so community can try and reproduce - please point to the AEM docs you are following for this use case.

Translate
Level 2
Sep 20, 2019 7:53 PM UTC

Hi, we are having the same issue, trying to hide some component in desktop view only, but when we hide it in desktop layout, it's hidden in all breakpoints.

Any instructions on how to hide it in desktop breakpoint only?

Thanks!

Translate
arunpatidar
New Participant
Sep 24, 2019 3:02 PM UTC

You need to show those components in small screen

1. Click on Parents button

2. Click on Restore All or show if hidden in the small screen.

Translate
Arun Patidar