• Support
  • Pricing
  • Log in
  • Get started
Build
  • Website
  • Ecommerce
  • AI website builder
Publish
  • Blog
  • Newsletter
Hosting
  • Managed hosting
  • Agency hosting
  • Site migration
Domains
  • Find a domain
  • Transfer a domain
Email
  • Professional email
Affiliates
  • Affiliate program
Enterprise
  • Enterprise hosting 
Tools & Services
  • Business name generator
  • Logo generator
  • Speed test
  • Hire an expert
  • Site profiler
  • Newspack 
For Developers
  • Developer tools
  • Developer blog
  • Rest API
  • Docs
  • Studio 
Features
  • Themes
  • Plugins
  • Patterns
  • AI features
  • View all
Discover
  • Latest news
  • Browse blogs

  • Products
  • Resources
  • Support
  • Pricing
  • Build
  • Website
  • Ecommerce
  • AI website builder
  • Publish
  • Blog
  • Newsletter
  • Hosting
  • Managed hosting
  • Agency hosting
  • Site migration
  • Domains
  • Find a domain
  • Transfer a domain
  • Email
  • Professional email
  • Affiliates
  • Affiliate program
  • Enterprise
  • Enterprise hosting 
  • Tools & Services
  • Business name generator
  • Logo generator
  • Speed test
  • Hire an expert
  • Site profiler
  • Newspack 
  • For Developers
  • Developer tools
  • Developer blog
  • Rest API
  • Docs
  • Studio 
  • Features
  • Themes
  • Plugins
  • Patterns
  • AI features
  • View all
  • Discover
  • Latest news
  • Browse blogs
Get Jetpack app Manage your site on mobile Download
Log in Get started
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Change Logo Size

Change Logo Size

  • Unknown's avatar
    awaywiththespoons · Member · Feb 22, 2013 at 8:33 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hello!

    (http://blog.beccarose.co.uk)
    I have tried to change the size of my logo using the following css code:

    #branding {
    background: url(‘http://beckaroona.files.wordpress.com/2012/06/becca0.jpg’) no-repeat;
    width: 180px;
    height: 196px;
    }

    all that happens is there is a slightly bigger padding at the top of the site.

    Could you recommend a better way (I want to make it 180×196 px)

    thanks

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

  • Unknown's avatar
    designsimply · Member · Feb 24, 2013 at 3:49 pm
    • Copy link Copy link

    First, you need to adjust the image itself. You can actually do that with WordPress.com by putting ?w=180 at the end of the image link like this:
    http://beckaroona.files.wordpress.com/2012/06/becca0.jpg?w=180

    Next, “#branding” isn’t the right selector for the Blaskan theme which you are currently using. If you view the page source, you’ll see a section like this:

    <header id="header" role="banner">
    			<figure><a href="http://blog.beccarose.co.uk/" title="Becca Rose" rel="home"><img src="http://beckaroona.files.wordpress.com/2012/06/becca0.jpg" alt="Becca Rose"></a></figure>

    What you’re trying to do is override the image that is set there and set an new on using CSS. You can do that if you hide the img tag and then set the resized image as a background on the link that comes just before the image. Try updating the CSS to the following:

    #header figure a img {
    	display: none;
    }
    #header figure a {
    	background: url('http://beckaroona.files.wordpress.com/2012/06/becca0.jpg?w=180') no-repeat;
    	display: block;
    	height: 196px;
    	width: 180px;
    }
  • The topic ‘Change Logo Size’ is closed to new replies.

Tags

  • logo
  • padding
  • publish
  • size

About this topic

  • In: CSS Customization
  • 2 participants
  • 1 reply
  • Last activity 13 years
  • Latest reply from awaywiththespoons

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

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

Browse our guides

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

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Ecommerce
  • 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
  • WordPress AI Features
  • 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