• 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 / Different Size Logo's on Different Platforms

Different Size Logo's on Different Platforms

  • Unknown's avatar
    profenceco · Member · Jan 16, 2017 at 1:56 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I looking for a way to use CSS to have different size logo’s in the header on each of the different platforms (web browser, tablet, and smartphone). Is there a way to make it so that each on is a customized size?

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

  • Unknown's avatar
    thesacredpath · Member · Jan 17, 2017 at 4:49 am
    • Copy link Copy link

    Hi @chrisosmer31, there are about 100 different screen sizes on mobile and tablet, so it would be difficult to get too detailed on this. Right now, the logo resizes as the window/screen gets narrower.
    We can use Media Queries and bracket min and max widths that would cover the majority of tablets and phones and resize the existing logo you have. This is just some example CSS for that. The first is for tablets and the second for phones.

    @media screen and (max-width: 900px) and (min-width: 601px) {
    	.site-logo {
    		max-width: 30%;
    	}
    }
    @media screen and (max-width: 600px) {
    	.site-logo {
    		max-width: 20%;
    	}
    }

    Additionally, if you are wanting completely different logos for tablets and phones, we can make the existing logo invisible and then insert a new logo using CSS. If you can explain a bit further what you are wanting, I’m more than happy to help with that.

  • Unknown's avatar
    profenceco · Member · Jan 17, 2017 at 12:41 pm
    • Copy link Copy link

    Thank worked Perfect for what I was trying to do. Thanks!

  • Unknown's avatar
    thesacredpath · Member · Jan 17, 2017 at 10:06 pm
    • Copy link Copy link

    Hooray and you are welcome!

  • The topic ‘Different Size Logo's on Different Platforms’ is closed to new replies.

Tags

  • CSS
  • custom
  • Header
  • logo
  • phone
  • sizing
  • tablet

About this topic

  • In: CSS Customization
  • 2 participants
  • 3 replies
  • Last activity 9 years
  • Latest reply from profenceco

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