• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Responsive image header

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Responsive image header

This topic is: resolved

Tagged: genesis, responsive image header

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 6 months ago by Marcy.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 5, 2016 at 8:45 am #175633
    sboulou
    Member

    Hello,
    On my web site I have insert a logo on header left as you can see
    below (in my custom css) but it is not not really responsive, do you have a solution to help me ?

    .header-image .site-title > a {
    background: url(images/logo.png) no-repeat left;
    float: left;
    height: 100px;
    width: 371px;
    }

    http://help-papiers.fr/
    January 5, 2016 at 2:19 pm #175676
    Marcy
    Participant

    Do you want the logo to be smaller at smaller screen sizes?

    If so, you would choose the media query you want it to be smaller, and add something like:

    .header-image .site-title > a {
        height: 50px;
        width: 100%;
        background-size: contain;
    }

    You can change the height to any size that you like.
    You will also want to change the min-height of

    .site-header {
        min-height: 100px;
    }

    If you want it centered, you need to remove the line "float: left" in your main section, and add
    background-position: top center;
    to

    .header-image .site-title > a {
       background-position: top center;
       height: 50px;
        width: 100%;
        background-size: contain;
    }

    Marcy | Amethyst Website Design | Twitter

    January 6, 2016 at 3:40 am #175722
    eMove
    Member

    You should fix your logo size in media query or you can use class="img-responsive" if you are using bootstrap.


    Interstate Removalists | Removal Quotes

    January 6, 2016 at 10:08 am #175751
    sboulou
    Member

    Thanks a lot for your Help Marcy !!

    January 6, 2016 at 11:44 pm #175824
    Marcy
    Participant

    You're welcome! Glad to help.


    Marcy | Amethyst Website Design | Twitter

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Responsive image header’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble