• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Move Site Logo

Move Site Logo

  • Unknown's avatar
    hohcatholic · Member · Mar 14, 2015 at 6:29 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    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)

  • Unknown's avatar
    jami0821 · Member · Mar 15, 2015 at 10:41 pm
    • Copy link Copy link

    Applying the following CSS will float the logo image to the left in the header area:

    .masthead .site-logo-link img {
        float: left;
    }
  • Unknown's avatar
    hohcatholic · Member · Mar 16, 2015 at 10:49 pm
    • Copy link Copy link

    I tried that CSS but it didn’t seem to work. Do I need to add the image url?

  • Unknown's avatar
    thesacredpath · Member · Mar 17, 2015 at 8:39 pm
    • Copy link Copy link

    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.

  • Unknown's avatar
    hohcatholic · Member · Mar 18, 2015 at 2:45 am
    • Copy link Copy link

    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?

  • Unknown's avatar
    thesacredpath · Member · Mar 18, 2015 at 3:04 am
    • Copy link Copy link

    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);
    }
  • Unknown's avatar
    hohcatholic · Member · Mar 18, 2015 at 3:29 am
    • Copy link Copy link

    It works! Thanks a bunch!

  • Unknown's avatar
    thesacredpath · Member · Mar 18, 2015 at 2:12 pm
    • Copy link Copy link

    You are welcome.

  • The topic ‘Move Site Logo’ is closed to new replies.

Tags

  • broadsheet
  • CSS
  • logo

About this topic

  • In: CSS Customization
  • 3 participants
  • 7 replies
  • Last activity 11 years
  • Latest reply from hohcatholic

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions