Increase the size of the Logo using CSS in Rowling theme.

  • Unknown's avatar

    Hi.
    I’m working with the Rowling theme and I am trying to increase the size of the logo using this configuration but when I attempt to enlarge it, the logo becomes blurred, regardless of what size or shape it is. I’ve tried various sizes but all appear blurred. The seems to scale the image down automatically; the CSS is now just using that same scaled down image and trying to increase it back to the dimensions I entered.

    a.site-logo-link img {
    width: 128px;
    height: 128px;
    }

    .site-title { padding-top: 20px; }

    Is there any way to increase the size and keep the quality?
    This is my site.
    http://www.europaunited.eu

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, the theme software actually creates the logo image off of your original at 80px square, so enlarging it will cause loss in quaility. What we can do is make the existing logo image invisible and then add the original logo image to the “a” element. Add the following to your custom CSS.

    .site-logo-link {
      height: 128px;
      width: 128px;
      background: url('https://skokmedia.files.wordpress.com/2017/02/cropped-cropped-14910341_1087389464712245_9010349152999697868_n-e1487187676483.jpg') no-repeat scroll 0 0 / contain;
    }
  • Unknown's avatar

    Thank you for your help but I’m afraid it didn’t work.
    When I loaded the above text into the CSS, I got a larger version but the current sized version still appeared over it. I also want to use a new logo but this also appeared over the current one that was enlarged.

  • Unknown's avatar

    I am soooo sorry. I missed copying one of the needed CSS rules. Add this to your custom CSS (the first rule was the one I didn’t copy the first time).

    .site-logo {
      visibility: hidden;
    }
    .site-logo-link {
      height: 128px;
      width: 128px;
      background: url('https://skokmedia.files.wordpress.com/2017/02/cropped-cropped-14910341_1087389464712245_9010349152999697868_n-e1487187676483.jpg') no-repeat scroll 0 0 / contain;
    }
  • Unknown's avatar

    Hi again,

    That worked so just one more thing. If I want to change the logo, who do I do it?

    Thanks for all your help.

  • Unknown's avatar

    sorry, meant to write “how” instead of “who”.

  • Unknown's avatar

    Hi.
    I figured it out. I changed the link to the new logo that was in the library on the site. Thank you very much for this. It’s really appreciated.

  • Unknown's avatar
  • The topic ‘Increase the size of the Logo using CSS in Rowling theme.’ is closed to new replies.