Site logo

Archived topic

SVG Logo on scroll

5 replies · Started by Jason Westbrook on November 21, 2017

Viewing posts 1–6 of 6

Hey guys I am showing a blurry and appears to be scrunching the logo so its not staying to size. I have it set for 200x40 pixels.

Thanks for the tips!

I have that plugin already installed and css code in the css editor for:

.site-logo img {
width: 200px;
height: 40px;
}

But it auto scrunches it and makes it weird.

Try this CSS:

.main-navigation .navigation-logo img {
    height: 40px;
    padding: 0;
}

That keeps it working for scroll fine but too big for normal logo. Is there another css code to add to that to control logo size before scrolling?

It looks squished in the sticky nav, try this:

.main-navigation.navigation-stick .navigation-logo img {
    width: auto;
}

Although I'm seeing it as a PNG, which wouldn't require any of this. Did you remove the SVG?

This archived topic is closed to new replies.