• 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

(Lifestyle Pro) Flickering and Padding issue

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 › (Lifestyle Pro) Flickering and Padding issue

This topic is: not resolved

Tagged: padding header

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

    on skincarebybetty.com and lovebugoils.com

    both when you pull up on phone the padding is really big around header.

    also when you pull up skincarebybetty.com seems like there is a flicker of the padding on header when pulling up on laptop computer.

    appreciate help I am sure it is a simple edit in css file

    http://skincarebybetty.com
    May 8, 2015 at 7:37 pm #151078
    askdesign
    Participant

    There's a 36px padding around the entire container. If you want, you can adjust that:

    .site-container {
        background-color: #fff;
        box-shadow: 0 0 5px #ddd;
        margin: 0 auto;
        max-width: 1140px;
        overflow: hidden;
        padding: 36px;
    }

    You might also want to change the header image background color to white:

    .lifestyle-pro-blue .button, .lifestyle-pro-blue .entry-content .button, .lifestyle-pro-blue .site-footer, .lifestyle-pro-blue .site-header, .lifestyle-pro-blue button, .lifestyle-pro-blue input[type="button"], .lifestyle-pro-blue input[type="reset"], .lifestyle-pro-blue input[type="submit"], .lifestyle-pro-blue.lifestyle-pro-home .content .widget-title {
        background-color: #fff;
    }

    Hope this helps!


    Anne S. Katzeff
    Designer | Artist | Teacher

    May 9, 2015 at 3:48 pm #151329
    rawfoodsgirl
    Member

    I adjusted the 36 px but it will then show a blue bar on each side of the header.

    It doesn't fix the issue.

    Is there something besides the 36px I should be changing?

    I haven't changed the background yet

    May 9, 2015 at 3:58 pm #151333
    askdesign
    Participant

    Yes, change the background color, too (to white):

    .lifestyle-pro-blue .button, .lifestyle-pro-blue .entry-content .button, .lifestyle-pro-blue .site-footer, .lifestyle-pro-blue .site-header, .lifestyle-pro-blue button, .lifestyle-pro-blue input[type="button"], .lifestyle-pro-blue input[type="reset"], .lifestyle-pro-blue input[type="submit"], .lifestyle-pro-blue.lifestyle-pro-home .content .widget-title {
        background-color: #fff;
    }

    You also might need to resize the header image to fit the wider space.


    Anne S. Katzeff
    Designer | Artist | Teacher

    June 10, 2015 at 2:50 pm #155773
    rawfoodsgirl
    Member

    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 12:58 pm #156182
    rawfoodsgirl
    Member

    Savvy Jackie or anyone any other suggestions?

    Please help I hate to give up on this theme looks great on laptop but on phone it looks really bad?

    skincarebybetty.com

    July 9, 2015 at 9:48 am #158911
    Gandt
    Member

    rawfoodsgirl:

    in the lovebugoils site, the issue is this:

    .header-image .site-title a {
      float: left;
      min-height: 310px;
      width: 100%;

    and

    @media only screen and (max-width: 767px)
    .header-image .site-title a {
      background-size: contain !important;

    you are defining that 310px height while at the same time asking the image to keep its proportions.

    What you need is to set that min-height to:

    min-height: 125px;

    and a background-size rule as:

    background-size:100% auto !important;

    Take a look at this screenshot I took after making the changes, assuming I understood you correctly on what the intended final result was:

    screenshot of the fixed issue

    Hope this helps
    G

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