• 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 / Logo size in header

Logo size in header

  • Unknown's avatar
    cambioderutas6 · Member · May 9, 2017 at 10:19 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi!
    I wanted to know how to change the size of my logo in the header. I tried different CSS and got nothing.

    Thanks!

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

  • Unknown's avatar
    otpidusprime · Member · May 9, 2017 at 10:27 am
    • Copy link Copy link

    Hello @cambioderutas6
    Try this CSS:

    .site-branding .custom-logo-link img {
        max-width: 400px;
        max-height: 200px;
    }

    Although i have set the values to 400px and 200px, you can change it according to your need.

    Hope this helps 🙂

  • Unknown's avatar
    cambioderutas6 · Member · May 9, 2017 at 10:44 am
    • Copy link Copy link

    I’ve tried that one already and it doesn’t work :(
    My theme is Baskerville, I don’t know if that has something to do with the not working thing.

    Thanks for answering!

  • Unknown's avatar
    otpidusprime · Member · May 9, 2017 at 10:55 am
    • Copy link Copy link

    Well, that’s odd. That code works for me.

    Here’s the screenshot: http://prnt.sc/f5s4qk

  • Unknown's avatar
    cambioderutas6 · Member · May 9, 2017 at 10:58 am
    • Copy link Copy link

    That’s the old blog. We are changing the theme and the new one is not launched yet. Its Baskervile theme now! That one was Dyad

  • Unknown's avatar
    otpidusprime · Member · May 9, 2017 at 11:07 am
    • Copy link Copy link

    Okay, if the actual site is unpublished/protected we volunteers cannot help you with that.

    Someone from the staff might be able to assist you with that. Please be patient, someone from the staff will be here to assist you soon.

    Meanwhile, please post the link to the actual site you need help with.

  • Unknown's avatar
    cambioderutas6 · Member · May 9, 2017 at 11:12 am
    • Copy link Copy link

    Ok thanks!

    The link will be cambioderutas.com

  • Unknown's avatar
    otpidusprime · Member · May 9, 2017 at 11:19 am
    • Copy link Copy link

    Aha! http://cambioderutas.com/ is not hosted on WordPress.COM. It hosted on BlueHost and is using the WordPress.ORG software package.

    You have posted your issue in the wrong forum. This forum only supports the sites hosted on WordPress.COM and not elsewhere.

    Both(WordPress.COM and WordPress.ORG) are different products. You can find out the differences between them here: https://en.support.wordpress.com/com-vs-org/

    To get help, please post your question on the WordPress.ORG support forum: https://wordpress.org/support/

    We are really sorry that we cannot help even tough we want to. Hope you issue gets resolved ASAP.

    Thanks!

  • Unknown's avatar
    cambioderutas6 · Member · May 9, 2017 at 11:31 am
    • Copy link Copy link

    Oooh yess! Forgot about that. I’m sorry and thanks for everything!!

  • Unknown's avatar
    otpidusprime · Member · May 10, 2017 at 8:48 am
    • Copy link Copy link

    @cambioderutas6 no worries 😇

  • Unknown's avatar
    sanfordsardo · Member · May 10, 2017 at 1:47 pm
    • Copy link Copy link

    otpidusprime- Thanks so much for posting that code; it was exactly what I was looking for!

    Related question: Now that I have added that code, on the desktop version, the header no longer animates to a small header once you start scrolling down, like in the original theme (I am using Karuna).

    Any ideas?

    The site is themindfullibrarian.org

    Thanks in advance!

  • Unknown's avatar
    sanfordsardo · Member · May 10, 2017 at 2:26 pm
    • Copy link Copy link

    @otpidusprime- I should probably also mention that I am using WordPress to host the blog.

  • Unknown's avatar
    otpidusprime · Member · May 10, 2017 at 6:28 pm
    • Copy link Copy link

    @sanfordsardo glad it worked!

    Add this CSS code:

    .sticking .custom-logo {
        max-width: 100px !important;
    }

    It will shrink the logo when scrolled down.

    Hope this helps 🙂

  • Unknown's avatar
    sanfordsardo · Member · May 10, 2017 at 6:45 pm
    • Copy link Copy link

    @otpidusprime Thank you! :)

  • Unknown's avatar
    otpidusprime · Member · May 11, 2017 at 8:46 am
    • Copy link Copy link

    @sanfordsardo you’re welcome 🙂

  • The topic ‘Logo size in header’ is closed to new replies.

Tags

  • logo

About this topic

  • In: CSS Customization
  • 3 participants
  • 14 replies
  • Last activity 9 years
  • Latest reply from cambioderutas6

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