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

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

  • March 20, 2019
  • 3 replies
  • 10406 views

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.

3 replies

smacdonald2008
Level 10
March 20, 2019

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

Level 2
September 20, 2019

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!

arunpatidar
Community Advisor
Community Advisor
September 24, 2019

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.

Arun Patidar
Gaurav-Behl
Level 10
March 20, 2019

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.

arunpatidar
Community Advisor
Community Advisor
March 20, 2019
Arun Patidar