• 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

Executive Pro Header-Footer Dimensions

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 › Executive Pro Header-Footer Dimensions

This topic is: resolved

Tagged: executive pro, footer, header

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 3 months ago by BlakeN.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 27, 2013 at 3:06 pm #75948
    BlakeN
    Participant

    Hi,

    For some reason the executive pro header and footer is slightly smaller in width than the rest of the page. I have tried reloading the original style sheet to see if it was something I altered but that was not the case.

    It looks like both are off by about 1px but I would like to know how to get it to line up with the rest of the site.

    What can be done to accomplish this?

    Thank you,
    Blake

    http://directmktg101.com/
    November 27, 2013 at 4:03 pm #75959
    cwalsh
    Member

    It looks like it is the box shadow on .site-inner. Either remove them from the CSS or change the 1px to 0

    .site-inner {
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #fff;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    }

    Need website customization services or other help? Caley @ PixelPerfect Design Studio | Connect with me on Twitter: @pixelsperfect | Like me on Facebook: https://www.facebook.com/PixelPerfectDesignStudio

    November 27, 2013 at 4:03 pm #75960
    nutsandbolts
    Member

    Try this... Hopefully it doesn't cause a domino effect that breaks something else.

    Find this:

    .site-inner {
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #fff;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    }

    and change it to this:

    .site-inner {
    background-color: #fff;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 27, 2013 at 6:28 pm #75980
    BlakeN
    Participant

    I actually do not believe the mistake is occurring because of the box shadow. I tried removing the box shadow coding and the error was still apparent.

    Here is what is currently implemented:

    /* Site Containers
    --------------------------------------------- */

    .site-container {
    margin: 0 auto;
    max-width: 1140px;
    box-shadow: rgb(170, 170, 170) 0px 0px 15px;
    }

    .executive-pro-landing .site-container {
    max-width: 800px;
    }

    .site-inner {
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #fff;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    }

    .executive-pro-home .site-inner {
    overflow: visible;
    }

    I went ahead and removed the shadowing (box-shadow: rgb(170, 170, 170) 0px 0px 15px;) so you can see where the header is still apparent.

    Thanks for the help!

    November 27, 2013 at 6:30 pm #75981
    nutsandbolts
    Member

    You didn't take out all of it - there are 3 rules assigned to .site-inner for box shadow, two of which are still there. That's why I said to remove what was there and replace it with what I had above - was easier than explaining that there are 3 rules there. 🙂


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 27, 2013 at 8:59 pm #75991
    BlakeN
    Participant

    It looks like it is working out.

    Thank you!

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