• 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 / How to Move Logo to Immediate Left of Blog Title in Sela Theme

How to Move Logo to Immediate Left of Blog Title in Sela Theme

  • Unknown's avatar
    soosucculent · Member · Aug 27, 2015 at 2:44 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi, I’ve scoured the Sela forums but haven’t found how to move my logo to the immediate left of my blog title on my site: http://www.soosucculent.com

    I would like my small logo of a succulent in a pot to sit right above the subtitle word, “Miniature.” If someone could please advise me, I would be most appreciative. Or if there is a link specific to creating this kind of tweak, please feel free to post it here, as well. Thanks!

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

  • Unknown's avatar
    ehtis · Staff · Aug 27, 2015 at 6:23 am
    • Copy link Copy link

    Hi there,

    We can use two approaches here. One is to utilize absolute positioning, the other is CSS3 transforms. I’m going with the latter, because the position of the logo will change if screen size changes or you zoom in.

    Give a try to this:

    .site-logo {
    	-ms-transform: translate(-154px, 50px);
    	-webkit-transform: translate(-154px, 50px);
    	transform: translate(-154px, 50px);
    }

    Should work on all browsers, including Internet Explorer 9+. You can change the horizontal and vertical px values according to your liking! :)

  • Unknown's avatar
    thesacredpath · Member · Aug 27, 2015 at 6:29 am
    • Copy link Copy link

    Hi there, delete your site logo in the Customizer and then put the following into your custom CSS. It places the logo into the linked text div for your site title.

    .site-title a {
        background: rgba(0, 0, 0, 0) url("https://soosucculent.files.wordpress.com/2015/08/logo-45-png-better.png?w=45") no-repeat scroll 0 0 transparent;
        padding-left: 55px;
    }
  • Unknown's avatar
    thesacredpath · Member · Aug 27, 2015 at 6:30 am
    • Copy link Copy link

    And there you go, you have two solutions, one from @ehtis and one from me. :)

  • Unknown's avatar
    ehtis · Staff · Aug 27, 2015 at 6:51 am
    • Copy link Copy link

    The more the merrier. ;)

  • Unknown's avatar
    soosucculent · Member · Aug 27, 2015 at 3:30 pm
    • Copy link Copy link

    Hi guys, thanks for your help. Ehtis, I’m afraid your tweak placed it to the immediate left, but somewhat raised above the title, almost like superscript. I definitely like the idea of the position being relative to the title, rather than fixed, as I’d like it to look consistent across browsers.

    Thesacredpath, I used your tweak after deleting the logo, but I am not sure where to put the logo now so that it shows up. Also, I don’t think I want to move the title over any in order to fit the logo, as I believe it will still look nice just floating to the immediate left of the title. I appreciate any tweaks you can suggest. Thanks!

  • Unknown's avatar
    ehtis · Staff · Aug 27, 2015 at 3:45 pm
    • Copy link Copy link

    Hi guys, thanks for your help. Ehtis, I’m afraid your tweak placed it to the immediate left, but somewhat raised above the title, almost like superscript

    In the code above, 50px is the Y component or vertical position value. I’m changing it to 53px, try altering the value to place it at the desired position:

    .site-logo {
    	-ms-transform: translate(-154px, 53px);
    	-webkit-transform: translate(-154px, 53px);
    	transform: translate(-154px, 53px);
    }
  • Unknown's avatar
    g471n · Member · Aug 27, 2015 at 3:55 pm
    • Copy link Copy link

    Hi soosucculent

    Try this without the color reference.

    .site-title a {
        background: url("https://soosucculent.files.wordpress.com/2015/08/logo-45-png-better.png?w=45") no-repeat scroll 0 0 transparent;
        padding-left: 55px;
    }
  • Unknown's avatar
    soosucculent · Member · Aug 27, 2015 at 3:55 pm
    • Copy link Copy link

    Hi Ehtis, thanks, but it’s still superscript-style. I left it in place so you can see it. Any other thoughts?

  • Unknown's avatar
    soosucculent · Member · Aug 27, 2015 at 4:01 pm
    • Copy link Copy link

    Hi g471n, thanks! That’s definitely the distance I would like the logo to be from the title word “Soo.” I would still like to have the title centered over the subtitle, though. Could you please suggest how to move it?

    Also, despite my desire to have as many succulents as possible, how do I get rid of the second logo that suddenly appeared again above my title when implementing this CSS edit?

  • Unknown's avatar
    g471n · Member · Aug 27, 2015 at 4:18 pm
    • Copy link Copy link

    I’m not sure how second one grew :)

    You can remove it with:

    .site-logo {
        display: none;
    }
  • Unknown's avatar
    g471n · Member · Aug 27, 2015 at 4:27 pm
    • Copy link Copy link

    To centre the text of the title.

    .site-title {
        margin-right: 1.4em;
    }
  • Unknown's avatar
    soosucculent · Member · Aug 27, 2015 at 4:29 pm
    • Copy link Copy link

    Thanks, g471n! That worked for removing the second logo that was on top. I’d still like to center the title again, if you have any tips for that.

    I also noticed that when viewing the mobile site now, the title no longer fits on one line due to the logo being a part of it. Do you know how wide a title can be to show up on an iphone 5 regular-sized screen? Thanks!

  • Unknown's avatar
    g471n · Member · Aug 27, 2015 at 4:47 pm
    • Copy link Copy link

    CSS to centre the text above.

    I’m not sure about the width for iPhone but I just had a look at it on my iPod touch and I think it still looks good on 2 lines.

  • The topic ‘How to Move Logo to Immediate Left of Blog Title in Sela Theme’ is closed to new replies.

Tags

  • left
  • logo
  • move
  • position
  • Sela
  • title

About this topic

  • In: CSS Customization
  • 4 participants
  • 13 replies
  • Last activity 10 years
  • Latest reply from soosucculent

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