• 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

Remove space between Header and widget in Infinity Pro Theme

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 › Remove space between Header and widget in Infinity Pro Theme

This topic is: not resolved

Tagged: Infinity Pro, Unusual Header Gap

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago by Victor Font.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 12, 2017 at 7:33 am #200985
    vgCHARTERED
    Member

    Hi,

    I am using Infinity Pro Theme @ vgCHARTERED.COM

    On home page the space between First widget & Header is more than usual on mobile and tablet devices. Here is a look On Desktop too, a gap of about 30 px is there. Is there any way to reduce this gap to zero on home page?

    I would appreciate any help in this regard.

    Thanks!

    http://vgchartered.com
    February 12, 2017 at 7:49 am #200986
    Victor Font
    Moderator

    The gap between the header and front-page-1 is calculated at run time by jQuery and added as an inline style dynamically. You would either have to change the calculation or remove it. It is found in the child theme's /js/front-page.js file.

    The rest of the front-page widget areas are handled the normal way through CSS. Each widget area has its own padding directives. Make sure you also adjust the padding in the media queries so you get the proper gaps on mobile devices.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 12, 2017 at 12:38 pm #201011
    Victor Font
    Moderator

    BTW, I meant to say earlier that the background effect you are using in front-page-1 is really cool!


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • 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

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