[Support request] Logo Responsiveness

Home Forums Support [Support request] Logo Responsiveness

Home Forums Support Logo Responsiveness

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #788845
    Aisling

    Hi guys,

    This may have been discussed before but I cannot find it.

    What I want to do is have a logo that changes based on whether I am viewing in desktop/tablet/mobile. The logo I have for desktop is slightly different than that of the logo for mobile.

    Could this be done with some simple code?

    I am currently using elementor to implement this but would prefer to do it through generate press

    Thanks

    Aisling

    #789100
    David
    Staff
    Customer Support

    Hi there,

    do you mean the logo in the mobile navigation bar or the main site logo?
    If nav logo then you can use the Mobile header, this removes the main site logo and allows you to select a different logo to be displayed aside the hamburger menu.

    If its the site header logo then easiest way is to use the Header Widget to add your mobile site logo and then we can use some simple CSS to hide them accordingly.

    Let me know.

    #789184
    Aisling

    Hi David

    Thanks for the speedy response

    Yes it is for the site header logo that I wish to change on mobile.

    I have the site header logo already in place for mobile.

    Thanks

    Aisling

    #789208
    David
    Staff
    Customer Support

    So you would do something like this.
    Add your Mobile logo image in the Header Widget.

    Then apply this CSS:

    @media (min-width: 768px) {
        .header-widget {
            display: none;
        }
    }
    @media (max-width: 767px) {
        .site-logo {
            display: none;
        }
    }
    #789218
    Aisling

    Great thank you so much

    I will give that a try

    Aisling

    #789251
    David
    Staff
    Customer Support

    You’re welcome

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