• 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

Outreach Pro – Modify how the header looks in mobile view

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 › Outreach Pro – Modify how the header looks in mobile view

This topic is: not resolved

Tagged: header, Outreach Pro, responsive

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by Phids.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 30, 2015 at 5:35 pm #167092
    TJohnson
    Member

    Hi all,

    We are attempting to dramatically change the header in Outreach Pro so that it is more compact. Essentially, we would like to reduce it to a small horizontal bar with the logo on the left and a navigation sandwich icon on the right when viewed within certain screen sizes.

    Normally, I would import the header file into the child theme and make the changes there, but the genesis header is different from what I am used to. So I am looking for advice on how best to accomplish this.

    Currently, I am researching whether we can add code directly using Genesis Simple Hooks that we would display via CSS media queries. But I don't think this is the right approach either.

    I am going to continue digging into this and will post any findings here, but in the meantime any advice or direction would be greatly appreciated.

    Thank you.

    http://www.thinkprofits.com/blog/
    October 2, 2015 at 5:23 pm #167265
    TJohnson
    Member

    Just in case this may help others, here is the interim solution I came up with. The objective was to reduce the rather large header that came with the Outreach Pro theme into something much more compact, specifically for screen dimensions of 480 (typical smart phone in portrait mode).

    Originally, we wanted the logo on the left and the sandwich nav icon on the right in a single small horizontal bar at the top of the page. The nav bar though was not playing nice, so we went with the logo on the left, our blog name on the right and the responsive nav bar directly underneath. Now, there has been about an 80% reduction in the size of the header, and the content is much more prominent from the initial view.

    I wanted to avoid messing with the templates as much as possible, so we went with a mostly CSS solution.

    1) installed a plugin that allowed us to attach individual classes to widgets
    2) added our blog name to the header right widget via a text widget and attached a class that only showed in mobile view
    3) added a class that would hide the other content in the header right widget in mobile view
    3) added the following css to the existing media query:


    @media
    only screen and (max-width: 480px) {
    .mobile-only {
    display: inline;
    }
    .hide-in-mobile {
    display: none;
    }
    .title-area {
    float: left;
    min-height: 25px;
    width: 35%;
    }
    .site-header .widget-area {
    padding-top: 3px;
    float: right;
    width: 55%;
    }
    .site-description, .site-header .title-area, .site-header .widget-area, .site-title {
    height: 25px;
    }
    .header-image .site-title > a {
    float: left;
    min-height: 30px;
    }
    .site-header {
    background-color: rgb(88, 155, 55);
    color: rgb(255, 255, 255);
    min-height: 65px;
    }
    .site-header .widget-area {
    line-height: normal;
    }
    .site-header .wrap {
    padding: 5px;
    }
    h1.site-title {
    margin-top: 3px;
    }
    .home-bottom {
    background-color: #fff;
    padding-top: 15px;
    }
    }

    There's room for improvement for sure, but it did the trick in a tight timeline.

    May 7, 2016 at 11:34 am #185157
    Phids
    Member

    Thanks for the code! Just what I needed.

  • 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

© 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