Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Theme Mercury, logo doesn’t scale in mobile version

  • #5846
    Avatar photo[anonymous]

    Well, the title says it all… I have a rather big logo file, which displays fine on a big computer screen, but appears totally oversized on a small screen. Can this be fixed?

    #5847
    Avatar photo[anonymous]

    I tried to fix it with this custom CSS, but no luck:

    @media (max-width: 56.1875em)
    .logo {
    max-width: 20%;
    }

    #5848
    Avatar photo[anonymous]

    Alright, I found the solution by taking a peek at the Simple theme.

    Custom CSS:

    .logo>img {
    max-height: calc(3.96667rem + 1vw);
    }

    Perhaps this can be corrected in the Mercury theme?