• 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 / Baskerville – logo size

Baskerville – logo size

  • Unknown's avatar
    lerecho · Member · May 19, 2016 at 5:25 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello everybody! What is the CSS code to change the size of the logo on the head of my wordpress? The logo appears in a small square and I’d like to have a larger area. Thank you for your help!

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

  • Unknown's avatar
    thesacredpath · Member · May 20, 2016 at 2:17 am
    • Copy link Copy link

    Hi, yes we can make it larger. The controlling dimension is the max-height, which is set at 160px. You can set that all the way up to 300px, which is the height of the image.

    .header .site-logo img, .header .site-logo-link img {
    max-height: 300px;
    }

    What you are going to notice though, is that this is going to mess up your header image. So, with the above set for 300px max-height, also add the following to fix the header image issue.

    .header.bg-image {
        background-size: contain;
        background-color: #fff;
    }
  • Unknown's avatar
    lerecho · Member · May 20, 2016 at 7:49 am
    • Copy link Copy link

    Thank you for your key! It works!
    Though I don’t see that the new size of my logo mess up the header image, it only make it look bigger but respecting the initial proportions…? Right?

  • Unknown's avatar
    thesacredpath · Member · May 21, 2016 at 3:49 pm
    • Copy link Copy link

    Yes, that is right, and you are welcome.

  • The topic ‘Baskerville – logo size’ is closed to new replies.

Tags

  • Baskerville
  • logo
  • size

About this topic

  • In: CSS Customization
  • 2 participants
  • 3 replies
  • Last activity 10 years
  • Latest reply from lerecho

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