• 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

Theme looks bad on phone.

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 › Design Tips and Tricks › Theme looks bad on phone.

This topic is: not resolved

Tagged: Lifestyle pro theme phone padding

  • This topic has 2 replies, 3 voices, and was last updated 7 years, 8 months ago by Gandt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 14, 2015 at 1:00 pm #156183
    rawfoodsgirl
    Member

    Sorry I hate to start another topic but no one is answering the other string I have started.

    website: skincarebybetty.com looks good on computer but on phone the header has too much blue padding on top and bottom of skin care by betty graphic. have tried many great ideas from several of you but nothing seems to work so far.

    appreciate your help:

    First I tried changing the color but it stayed blue:

    FROM:
    .site-header {
    background-color: #76d2c5;
    padding: 0px;
    padding: 0rem;
    overflow: hidden;
    }
    TO:
    .site-header {
    background-color: #ffffff;
    padding: 0px;
    overflow: hidden;
    }
    Also tried this information from the site: http://wpsites.net/web-design/remove-padding-from-lifestyle-pro-site-header/

    Remove Padding From Site Inner
    .site-inner {
    clear: both;
    padding-top: 0px;
    padding-top: 0rem;
    }
    This will remove the space under your header image.

    Tried that and nothing changed.

    You suggested: The mobile issue seems to be from a min-height of 417px set for the logo.

    I reduced the 417 px and all it did was crop the logo, leaving the big blue background. ???

    There was something else I tried – removing the header and coding in the header as a background-image with no repat. That didn’t work either. The source code is changing, but something is overriding the .site-header and .site-inner code

    June 14, 2015 at 2:09 pm #156191
    Erik D. Slater
    Member

    Yep ... not your fault. It's an old classic.

    Have a look at this thread ... which should hopefully solve your problem 🙂


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    July 9, 2015 at 9:39 am #158907
    Gandt
    Member

    rawfoodsgirl:

    As of today, there is no blue there. It just looks oddly cropped. What was the last change you made to it?

    What I would suggest, and imo, this is the most straightforward way around scaling images for mobile, is don't add the image as content.

    Scaling <img>elements included in the html is difficult and unnecessary. Add background images via css using:

    background:url(..path to the image goes here...) no-repeat scroll center center transparent;
    background-size:auto 100%;

    Give it a try and if you still feel stuck, I'll gladly walk you through the steps over skype.

    Regards
    G

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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