Archived topic
Hiding a grid container
3 replies · Started by Denise on November 21, 2022
Hi,
I was looking into the instructions given here: https://generatepress.com/forums/topic/hiding-grid-containers-on-tablet-and-mobile/
I have a similar situation with a 2 container grid.
I am using the left one to show a sticky container for table of contents.
I’ve applied the hide-on class for mobile and tablet, but now I see the right container still “at the right”.
Is there a way to show it centered on mobile and tablet view (once the 2dn container was hidden)?
Thanks!
Denise
Hi Denise,
When the right column content is hidden, the left column width is still set to 66.66%.
Select the left column, and set its width to 100% for mobile and tablet.
Dah!!
Thanks Ying!
You are welcome :)