• 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 in responsive website versions in Twenty Eleven theme

Logo in responsive website versions in Twenty Eleven theme

  • Unknown's avatar
    hyenaproject · Member · Jan 21, 2016 at 12:41 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi there,

    I recently chatted to the wordpress support team and they adviced me to ask for help in the CSS forum. We added our logo with CSS left of the site identity (project name) into the header. We have the Twenty Eleven theme. Important for us is, that logo and site identity adapt themselves in the tablet and mobile version of the website! It should appear like in the Desktop version, but in the tablet and mobile version it´s always slightly broken. Is there something we can do with CSS to fix it in responsive website versions??

    Thank you!

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

  • Unknown's avatar
    thesacredpath · Member · Jan 22, 2016 at 11:15 pm
    • Copy link Copy link

    Hi there, see what you think of this. First off, remove this from your custom CSS and save in a plain text file for safe keeping and reference.

    header#branding {
    	background-image:url('https://hyenaproject.files.wordpress.com/2015/07/logo-website1.jpg');
    	background-repeat:no-repeat;
    	background-position:left 8% top 6%;
    	background-size:10%
    }

    Next, paste this in at the bottom of your custom CSS and then see how it reacts to different browser window widths and also view on a tablet and phone. I’ve used some Media Queries to change and adapt the design for smaller screens.

    #site-title {
        background: url("https://hyenaproject.files.wordpress.com/2015/07/logo-website1.jpg") no-repeat scroll left top / contain;
        padding-top: 0;
        margin-top: 1em;
    }
    #site-title a {
        margin-left: 0;
        padding-left: 70px;
    }
    @media screen and (max-width: 850px) {
    	#site-title, #site-description {
    		width: 100%;
    	}
    	#branding #searchform {
    		top: 1em;
    	}
    	#branding hgroup {
    		margin-top: 60px;
    	}
    }
    @media screen and (max-width: 525px) {
    	#site-title a {
    		font-size: 22px;
    	}
    	#site-description {
    		font-size: 18px;
    	}
    }
  • The topic ‘Logo in responsive website versions in Twenty Eleven theme’ is closed to new replies.

Tags

  • CSS
  • logo
  • Twenty Eleven

About this topic

  • In: CSS Customization
  • 2 participants
  • 1 reply
  • Last activity 10 years
  • Latest reply from hyenaproject

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