• 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

Space between header and navigation menu in Agency Pro

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 › Space between header and navigation menu in Agency Pro

This topic is: resolved

Tagged: agency pro, header, navigation menu, space

  • This topic has 19 replies, 3 voices, and was last updated 8 years, 4 months ago by Chris Moore.
Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • December 29, 2013 at 10:13 am #81839
    amzzzg
    Member

    I accidentally created a space between the header and the navi menu in Agency Pro. I don't know how or where I did this. I moved the social icon widget to the header widget and when I title the social icons the black of the header meets the black of the navigation menu. However, when I remove the title of the social icons ( I don't want a title just the little icons) a gap appears. I don't know what I've changed to create this gap. Can someone please advise me? Thank you in advance. http://www.thebloomsms.com

    http://thebloomsms.com/
    December 29, 2013 at 10:19 am #81841
    Sridhar Katakam
    Participant

    Add the following at the end of child theme's style.css:

    .site-container {
        padding-top: 60px;
        padding-top: 6rem;
    }

    Genesis Tutorials | Follow me on Twitter

    December 29, 2013 at 10:22 am #81842
    amzzzg
    Member

    Thank you Sridhar! So much.

    December 29, 2013 at 1:40 pm #81878
    Chris Moore
    Member

    Hello there!

    Just had a look at your site. Not sure what you have done in terms of custom CSS as of yet (didn't dig that deep), but you may want to consider changing the z-index for the header.

    .site-header {
    z-index: 0;
    }

    That way the little owl will show. 🙂

    I still think there is some work to be done up there, but maybe that insight will help.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 1:44 pm #81880
    Chris Moore
    Member

    Actually, I take that back. Seems you have a fixed header. 😉 Just noticed when I scrolled down.

    Like I said, more work to do. 🙂


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 1:46 pm #81882
    amzzzg
    Member

    I do have a fixed header but not intentionally. It is on my list to correct. I don't actually want it to keep coming down the page when you scroll. Will the first suggestion you made make that fixed header stay at the top and not come down during the scroll? I do want the little owl to show on ipad-- I'm trying to figure out that part now. He shows on desktop and cell phone but is cut off on iPad.

    December 29, 2013 at 1:51 pm #81887
    Chris Moore
    Member

    Hmmm... Let's see here. Try this:

    .site-header {
    position: inherit;
    }
    
    .site-container {
    padding-top: 0px;
    padding-top: 0px;
    }
    

    Make sure that is at the bottom of the child theme'sstyle.css. You might do well to clean up and delete the former codes given as well.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:02 pm #81890
    amzzzg
    Member

    Hey thanks a lot! That worked! This is the first time I've worked with the new Agency, I'm having little hiccups with the header and then that part you just fixed for me and the size of the sidebar widgets is killing me! I've been on the search for three days to figure out how to decrease them. Thanks for your help and saving the little owl's head too. 🙂

    December 29, 2013 at 2:03 pm #81891
    Chris Moore
    Member

    "No owls were hurt in this CSS fix..." 😉

    Please let me know if you need further assistance.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:04 pm #81892
    amzzzg
    Member

    LOL! Thank you!

    December 29, 2013 at 2:07 pm #81893
    Chris Moore
    Member

    Also, you may want to do this, so that the "owl menu" is not sooooo high. It has to be higher than the rest, because of the owl, but at least you can collapse it a little bit. Try this:

    li#menu-item-123 a { 
    padding-top: initial; 
    }
    

    You could then probably remove that thin blue line that you added at the top.

    Just a thought... 😉


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:10 pm #81897
    amzzzg
    Member

    Very nice, thank you. He did drop a little bit.

    December 29, 2013 at 2:17 pm #81899
    Chris Moore
    Member

    Actually, there's a little problem with that last fix. It caused the sub-nav items (for the owl nav) to have a space between them. Thinking about this for a second... 😉


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:19 pm #81900
    amzzzg
    Member

    I may need to clear my cache I don't see an abnormal amount of space on the sub...

    December 29, 2013 at 2:21 pm #81901
    Chris Moore
    Member

    Boom!!! This one instead:

    li#menu-item-123 > a {
    padding-top: 0px;
    }

    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:25 pm #81902
    Chris Moore
    Member

    Ohhh, and that "line" at the top, well, it isn't a line after all! It's the background creeping through (I'm on Chrome on a Mac).

    You have "padding-top: 1px" at the top. Needs to be this:

    .site-container {
    padding-top: 0px;
    padding-top: 0rem;
    }

    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:27 pm #81904
    amzzzg
    Member

    Sweet I changed it for the owl! Yes it is a pin stripe of the background, it was a block before. So much of a difference from the original agency- this is a fun theme!

    December 29, 2013 at 2:31 pm #81905
    Chris Moore
    Member

    Okay, just to double-check.. here's the final code (delete all else that was given):

    .site-header {
    position: inherit;
    }
    
    .site-container {
    padding-top: 0px;
    padding-top: 0rem;
    }
    
    li#menu-item-123 > a {
    padding-top: 0px;
    }

    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    December 29, 2013 at 2:32 pm #81906
    amzzzg
    Member

    Check, got it and saved it. Thank you so much for your time and help!

    December 29, 2013 at 3:17 pm #81914
    Chris Moore
    Member

    No problem! My pleasure.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

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

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