• 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

willb

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • May 13, 2014 at 8:00 pm in reply to: Custom Body Class style not being applied #105023
    willb
    Member

    Lauren I still cannot find the unclosed bracket or a comment that doesn't end, but it's working.

    Thanks for your help.

    May 13, 2014 at 8:07 am in reply to: Custom Body Class style not being applied #104908
    willb
    Member

    Thanks for the reply Lauren-

    so you're saying I should change the line

    $books[] = 'custom-class';
    

    to

    $books[] = 'books';

    That doesn't seem to change anything and still leaves me wondering why the exact same code would work in the dev environment, but not on the production site.

    Do you have an explanation as to what I've done wrong? Trying to learn as well as fix my problem 🙂

    February 5, 2013 at 8:08 pm in reply to: custom home page template #18359
    willb
    Member

    Matthew, I was looking for something else here in the forums and noticed that you don't have any replies.

    Did you figure this out? I wasn't quite sure by the state of the link. I'd be glad to help if you're still having trouble.

     

    Will

    February 2, 2013 at 4:23 pm in reply to: How to Make Header Overflow Navigation? #17455
    willb
    Member

    Man I really think I had that code in the mockup site's style sheet.

    Anyway, I now have this on modernmrsdarcy.com:

    <code>

    #header {
    height: 260px;
    overflow-y: visible;
    margin: 0 auto;
    width: 1080px;
    background: #FFF;
    position: relative;
    z-index: 999;
    }
    #nav {
    margin-top: -10px;
    z-index: 1;
    }
    </code>

    And it works beautifully! I now realize that my header .png isn't transparent so I'll need to go back and do that and then change the margin to -15px or even -20px, but I know that it stacks properly.

    Thanks so much John!

    February 2, 2013 at 4:09 pm in reply to: How to Make Header Overflow Navigation? #17449
    willb
    Member

    CSS-Tricks didn't say that.

    Do I need a z-index on the #nav/.menu-primary (I've tried both) at all? or if I set #header to 999 is that enough?

    I ask because it's still not working. Here's what I've got:

    <code>

    #header {
    position: relative;
    z-index: 999;
    min-height: 260px;
    overflow-y: visible;
    margin: 0 auto;
    width: 1080px;
    background: #FFF;
    }

    .menu-primary {
    background: #FFF;
    margin-top: -10px;
    }

    </code>

    http://mockup.bootstrapperu.com/

    February 2, 2013 at 3:54 pm in reply to: How to Make Header Overflow Navigation? #17445
    willb
    Member

    As far as a negative margin on the navigation that sounds like a good idea. But it moves the navigation up on top of the header not behind the it (which is what I need for the Y to be visible). I think I need that and the z-index.

    So I looked up CSS-Tricks for the z-index. That is exactly it, but I cannot seem to target the proper div in the nav bar.

    I've tried:

    .menu-primary
    #nav .wrap
    #nav

    Any idea how to position those?

    January 6, 2013 at 7:51 pm in reply to: Customizing the Standard Loop #10008
    willb
    Member

    We went another direction in this site, but the issue is still bugging me. I'd like to use the grid loop to have 4 featured posts and 4 excerpts on the home page.

    I read the tutorial and copied the code into my home.php. Here's what I have:

    <code>

    <?php
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'child_grid_loop_helper' );
    /** Add support for Genesis Grid Loop **/
    function child_grid_loop_helper() {
    if ( function_exists( 'genesis_grid_loop' ) ) {
    genesis_grid_loop( array(
    'features' => 4,
    'feature_image_size' => 0,
    'feature_image_class' => 'alignleft post-image',
    'feature_content_limit' => 0,
    'grid_image_size' => 'grid-thumbnail',
    'grid_image_class' => 'alignleft post-image',
    'grid_content_limit' => 0,
    'more' => __( '[Continue reading...]', 'genesis' ),
    'posts_per_page' => 8,
    ) );
    } else {
    genesis_standard_loop();
    }
    }
    /** Remove the post meta function for front page only **/
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    genesis();

    </code>

    It seems like I need to register the grid loop in the functions.php, but nothing says that's necessary and I'm not sure how to do that.

    Nick I did look at your post, but it didn't seem to address implementing the grid loop.

    December 11, 2012 at 7:17 am in reply to: Customizing the Standard Loop #4480
    willb
    Member

    Did you look at the link? I am not using the homepage widget structure.

    I know this is a more general question and not theme specific. Nick asked me to post it here.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

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