• 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

Digital Pro – How to Increase Header Padding (top & bottom)

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 › Digital Pro – How to Increase Header Padding (top & bottom)

This topic is: not resolved

Tagged: DigitalPro, header

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 1 month ago by hipstershaun.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 26, 2016 at 4:22 am #186299
    FunnelJ
    Member

    Hey guys,

    Just purchased the Digital Pro theme and it's awesome so far!!

    I'm not a dev and I want to increase the padding on my header so that the logo image has white space above and below. Can I do this by adding code to the header.php file? and if so, is this likely to break anything or dramatically reduce performance on mobile?

    Screenshot example: http://d.pr/i/1eBXN/cUBk26qb

    Thanks in advance.

    Gary

    May 27, 2016 at 7:24 pm #186401
    hipstershaun
    Member

    Go into your style.css file and find the following code,

    .site-header {
        background-color: #fff;
        padding: 28px 30px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
    }

    The padding is what you need to change. The first number is determining the amount of padding for both the top and bottom of your header. Increase the number, save and then open the home page in a new tab to see the change. Keep changing the number and refreshing the homepage until it has the amount of padding you want.

    When you do this it will cause your header to overlap the top of the front page 1 area (the area just under the header). You need to increase that sections top margin by the same amount you increased the padding for the header. so if you increased the header padding from 28 to 38, you've added 10px to both the top & bottom padding for a total increase of 20px. so you would then go to the code below and increase the margin-top value from 90px to 110px.

    .front-page-1 {
        display: table;
        margin-top: 90px;
        overflow: hidden;
        table-layout: fixed;
        width: 100%;
    }
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

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