• 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 / Align site-logo to left of site-title

Align site-logo to left of site-title

  • Unknown's avatar
    jcoonrod · Member · Sep 7, 2016 at 11:13 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I use the Edin theme, which places the site-logo above the site-title. How can I customize css so that they are in-line?

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

  • Unknown's avatar
    thesacredpath · Member · Sep 8, 2016 at 8:50 pm
    • Copy link Copy link

    Hi, this took a bit more work and futzing than I though. What I have done is to hide the existing site logo down to a width of 800px and added that image to the site title div. The reason I had to limit this to 800px and wider screens is that Community-Led can’t be broken into two words due to the dash between them and that causes the it to be broken within the words below 800px, which isn’t at all desirable. At 799px and narrower, things return to the original design. Add this to the bottom of your custom CSS and see what you think.

    @media screen and (min-width: 800px) {
    	.site-title {
    		background: url("https://communitydevblog.files.wordpress.com/2016/09/cld-logo-180.png?w=188") no-repeat scroll left top / auto 100px;
    		padding-left: 120px;
    		height: 130px
    	}
    	.site-logo {
    		display: none;
    	}
    	.site-logo-link {
    		margin: 0;
    	}
    	.has-header-search .site-branding {
    		max-width: 70% !important;
    	}
    }
  • Unknown's avatar
    jcoonrod · Member · Sep 8, 2016 at 9:00 pm
    • Copy link Copy link

    Wow! Wonderful solution! Thank you!

  • Unknown's avatar
    thesacredpath · Member · Sep 9, 2016 at 2:19 am
    • Copy link Copy link

    Awesome, and you are welcome!

  • The topic ‘Align site-logo to left of site-title’ is closed to new replies.

Tags

  • align
  • CSS
  • site logo
  • site title

About this topic

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

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