Site logo

[Resolved] Hide a container on computer

Home Forums Support [Resolved] Hide a container on computer

Home Forums Support Hide a container on computer

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1618392
    Matthieu

    Hello, I would like to hide a container on my computer and display it on mobile.

    How could I do that?

    Thank you. 😃

    #1618636
    David
    Staff
    Customer Support

    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.

    #1618683
    Matthieu

    It’s perfect, thanks !

    #1618739
    David
    Staff
    Customer Support

    You’re welcome

    #1619238
    Matthieu

    Hello, is there a css script to hide the top bar on computer / tablets ? Thanks.

    #1619241
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    @media (min-width: 769px) {
        .top-bar {
            display: none;
        }
    }
    #1619255
    Matthieu

    Perfect thank you so much !

    #1619273
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.