• 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

Header not responsive on mobile (rest of site okay)

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 › Header not responsive on mobile (rest of site okay)

This topic is: not resolved

Tagged: mobile, responsive

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 3 months ago by Jackiejoh.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 29, 2015 at 10:18 am #166943
    Jackiejoh
    Participant

    Hi there,

    I could use some help. My site is mobile responsive, but my logo is not when looked at vertically on a smart phone. Horizontal, computer and tablet screens are all fine. But the mobile vertical is screwy. I've tried adjusting the size in php and it didn't help. Any thoughts?

    http://finallywriting.com

    Thank you!

    Jackie

    http://finallywriting.com
    September 29, 2015 at 3:01 pm #166970
    ninjamonk
    Member

    The issue is the image is not scaling down in size.

    I got it to work with background-size:contain;

    however what I would add a style to the media query for mobile with a much smaller logo.

    September 29, 2015 at 11:40 pm #167018
    Jackiejoh
    Participant

    Hi Ninjamonk, thanks for your help!

    I tried the background-size: contain; under @media area, but it didn't change anything. Is there another area I would add or adjust this?

    Also, here is what my @media currently looks like (I removed some of the in between code for easier reading). Could you take a peek and let me know where (and what specifically) you would add the style for a smaller logo?

    Thanks tons!!


    @media
    only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-moz-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min-device-pixel-ratio: 1.5) {

    .header-image .site-header .wrap {
    background-size: 320px 164px;
    }

    }


    @media
    only screen and (max-width: 1139px) {

    .site-inner,
    .wrap {
    max-width: 960px;
    }


    @media
    only screen and (max-width: 1023px) {

    body {
    background-color: #fff;
    }


    @media
    only screen and (max-width: 767px) {

    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
    margin: 0;
    width: 100%;
    }

    }


    @media
    screen and (max-width: 480px) {
    .custom-landing .landing-two,
    .custom-landing .landing-three {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 300px;

    }


    @media
    screen and (max-width: 240px) {

    .utility-bar {
    display: none;
    }

    .landing-widgets {
    width: 100%;
    max-width: 200px;
    }

    #genesis-responsive-slider {
    display: none;
    }

    }


    @media
    only screen and (max-width: 1139px) {

    September 30, 2015 at 1:47 pm #167073
    ninjamonk
    Member

    Ok, couple of things looking at the page and image that is being used.

    The image being used is http://finallywriting.com/wp-content/uploads/2015/08/cropped-cropped-header-small-011.png

    For mobile I would set the min-height to auto

    
    .header-image .site-header{
    min-height:auto;
    }
    

    for desktop it looks blown out and blurry.

    might I suggest, this will end up with the image scaled correctly but it might look a bit small. Still so you might want to create an image that fits the full width and then let it scale down with the browser.

    
    .header-image .site-header{
    min-height:auto;
    margin-top: 15px!important;
    }
    
    October 1, 2015 at 10:45 pm #167217
    Jackiejoh
    Participant

    Thanks for your help! Got it all figured out.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and 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