[Support request] How to I remove the header widget but still keep the logo from mobile.

Home Forums Support [Support request] How to I remove the header widget but still keep the logo from mobile.

Home Forums Support How to I remove the header widget but still keep the logo from mobile.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #683975
    Luis

    In my header I have a logo on the left and contact info on the right using a widget. How to I remove the widget containing the contact information from mobile while keeping the logo.

    Also adding basic contact information in the mobile menu.

    Thanks.

    #683990
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this CSS to hide header widget on mobile:

    @media (max-width: 768px) {
        .header-widget {
            display: none;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

    #683991
    Luis

    That’s what I was looking for Thanks.I figured out a way to add a tel link to the mobile menu which required to enable mobile header. Problem is this disables the logo header. How can I add the logo back under mobile header.

    Thanks.

    #684026
    Leo
    Staff
    Customer Support

    You can either consider adding your current icon as the mobile header logo:
    https://docs.generatepress.com/article/mobile-header/

    Or this hook so you don’t need to activate mobile header:
    https://docs.generatepress.com/article/generate_inside_mobile_menu/

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