Sign in

Theme Mercury, logo doesn’t scale in mobile version

  • This topic has 2 replies, 1 voice, and was last updated 2 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5846
    Avatar photoMathias

    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 photoMathias

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

     

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

    #5848
    Avatar photoMathias

    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?

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