Move Site Logo
-
Hello,
I need to move the logo for the site to the left side of the header. What is the CSS to re-position the logo in the header?
Thanks
The blog I need help with is: (visible only to logged in users)
-
Applying the following CSS will float the logo image to the left in the header area:
.masthead .site-logo-link img { float: left; } -
-
The logo is in the same parent div as the site title and tagline, so we need to reduce the padding on the left of that parent div to get your logo to the left top corner of the header image, and then add that same amount of padding to the left of the title and tagline so they remain centered in the header image.
.masthead .branding { padding-left: 65px; } .logo, .description { padding-left: 75px; }See what you think and let us know.
-
It’s now in the right spot. I’d now just like to make the logo larger. Can I edit the size of the logo?
-
We can use a transform to make it larger, but there are limits on this due to image quality reductions. You can play with the value and then you will probably need to play with the positioning of it.
img.site-logo { transform: scale(1.25); } -
-
- The topic ‘Move Site Logo’ is closed to new replies.