• How do I increase the size of the logo at the top? I added the following CSS, and it does make it larger, however it is blurry.
    img.custom-logo { width: 150px; height:150px; }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Lori,

    You’re using the right CSS there. The problem is the image that’s being loaded in the browser is only 80×80, so by using CSS to make it bigger, you’re stretching the image, causing the blurriness.

    Unfortunately this cannot be avoided. When you set the logo and crop it, a cropped version of the image, already resized, is created on the site, and that file is the one that ends up being loaded on the site.

    If the theme loaded the original file and merely resized it using CSS, it would have been possible to use CSS to make the container for the image larger, thereby causing the image to expand again. But in this case the theme uses a generated image that’s only 80×80 to start with, so the image cannot expand, it can only stretch, and you’ll always see quality loss with that.

    Have you considered setting the logo as a custom header instead? This theme’s header dimensions are 1140 × 223, so if you create an image of that size that’s transparent, with the logo exactly centered horizontally and the same height, that might work. You can then always use CSS to make that header image smaller if you wanted.

    Thread Starter Lori Schroeder

    (@lswebs)

    Thanks, I ended up doing the header instead.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Logo Size’ is closed to new replies.