Archived topic
Hide a container on computer
7 replies · Started by Matthieu on January 14, 2021
Hello, I would like to hide a container on my computer and display it on mobile.
How could I do that?
Thank you. 😃
Hi there,
you can use the hide-on-* classes:
https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes
If your using the Block Editor, you can add the class to the block > Advanced > Additional CSS Class(es) field.
It's perfect, thanks !
You're welcome
Hello, is there a css script to hide the top bar on computer / tablets ? Thanks.
Hi there,
Try this:
@media (min-width: 769px) {
.top-bar {
display: none;
}
}
Perfect thank you so much !
No problem :)