• 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 / Need my logo to be fixed for all displays

Need my logo to be fixed for all displays

  • Unknown's avatar
    girleffecttrading · Member · May 26, 2017 at 8:48 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi,

    I’m trying to get the logo on my website to stay fixed in the corner, but depending on the browser or the size of display it jumps around and sometimes gets lost in the corner or cropped. Is there anything I should be adding to the code? At the moment this is what I have added:

    .site-logo-link img {
    max-height: 100px;
    width: fixed;
    position: relative;
    right: 540px;
    top: 250px;
    }

    Thanks!

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

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

    Hello @girleffecttrading
    Try this:

    1. Remove all the codes from the CSS you gave above except max-height:

    .site-logo-link img {
       max-height: 100px;
    }

    2. And then add this CSS:

    .site-branding {
        display: block;
        align-items: inherit;
        justify-content: inherit;
        height: auto;
        position: absolute;
        left: 5%;
        bottom: 10%;
    }

    Hope this helps 🙂

  • Unknown's avatar
    girleffecttrading · Member · May 26, 2017 at 9:38 am
    • Copy link Copy link

    Hey @otpidusprime

    Thank you so much for your help, it works perfectly.

    I was wondering if there is a way to fix the following: it doesn’t resize the logo when I make the window smaller, so it remains the same size and then overlaps with the text below and header above.

    Thank you!

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

    Yes… Try these:

    .custom-header-image {
        min-height: 180px;
    }
    @media screen and (max-width: 59.999em) {
       .site-logo-link img {
           max-height: 60px;
       }
    }
  • Unknown's avatar
    girleffecttrading · Member · May 26, 2017 at 9:45 am
    • Copy link Copy link

    Amazing it does. Thank you so much for all your help.

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

    @girleffecttrading glad I could help 😇

  • The topic ‘Need my logo to be fixed for all displays’ is closed to new replies.

Tags

  • fixed
  • logo
  • position

About this topic

  • In: CSS Customization
  • 2 participants
  • 5 replies
  • Last activity 9 years
  • Latest reply from girleffecttrading

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