• 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 – Mobile Responsive Header – 100% Vary Breakpoints

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 – Mobile Responsive Header – 100% Vary Breakpoints

This topic is: resolved

Tagged: header, lifestyle_pro, mobile_responsive

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 4 months ago by gadfly1974.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 4, 2014 at 7:22 am #116778
    gadfly1974
    Member

    Hello!

    I'm Dani, a designer working on customizing the Lifestyle Pro theme for A. M. Leibowitz (site is technically live, but not finished and has no incoming links since it's still in development). I've also attached here what I envisioned the site looking like with the header.

    Full disclosure: I'm much more of a front-end developer, though I am ever so slightly conversational in PHP. In looking at the HTML output, it looks like I would just want to break the header block out of the site-container div and make it 100% (with varying breakpoints on the header image for tablet and mobile), but I'm not sure exactly how to go about doing that. The header.php file for Genesis contains no HTML, and I'm just...not sure where to go to make the header and navigation work the way I had it laid out in the mockup. Anyone have any ideas or able to point me in the right direction to be able to make this work out? Thanks so much!

    http://amleibowitz.com
    August 4, 2014 at 7:44 am #116971
    ᴅᴀᴠɪᴅ
    Member

    So, from looking at your mockup. The best way to do this would be to move the header outside of the site-container and then move the primary nav menu to be positioned above the header.

    What you need to do is add this code the to the bottom of the child themes functions.php file.. (obv make sure you backup first as this is a delicate file to be editing if your unsure)

    /** Reposition header outside site-container */
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ) ;
    add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_before', 'genesis_do_header' );
    add_action( 'genesis_before', 'genesis_header_markup_close', 15 );
    
    //* Reposition the primary navigation menu
    remove_action( 'genesis_before_header', 'genesis_do_nav' );
    add_action( 'genesis_before', 'genesis_do_nav', 2 );

    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    August 4, 2014 at 2:02 pm #117045
    gadfly1974
    Member

    This looks great on my iPhone. Thanks for your help!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Lifestyle Pro – Mobile Responsive Header – 100% Vary Breakpoints’ is closed to new 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