• 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

Mobile CSS

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 › Mobile CSS

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by Erika.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 15, 2017 at 1:32 pm #213606
    defree99
    Participant

    I have managed to increase my logo size on Brunch Pro here:

    http://tinyurl.com/y7euwcwg

    But on my iPhone there is a lot of excess space below the logo.

    How can I remove this padding/space?

    November 15, 2017 at 2:04 pm #213608
    Erika
    Participant

    Hi defree99,

    Insert this code into your style.css file:


    @media
    only screen and (max-width: 480px) {
    .header-image .site-title > a {
    -webkit-background-size: contain !important;
    background-size: contain !important;
    display: block;
    height: 147px !important;
    margin: 10px auto;
    max-width: 640px;
    text-indent: -9999px;
    }
    }

    Let me know if it helps!

    November 15, 2017 at 3:50 pm #213614
    defree99
    Participant

    Thanks Erika,

    The padding worked perfectly.

    But the logo is aligned to the left (only visible on larger mobile screens)

    Is there a way to center the logo?

    November 15, 2017 at 6:22 pm #213618
    Erika
    Participant

    Add into the code:

    background-position: center !important;

    The original code I have you will likely be located in two or three places in your theme. Insert the piece above in all of them if needed.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2023 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