• 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

sean nelson

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 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • February 24, 2019 at 11:04 pm in reply to: Sample Theme 2.8 Move Menu Above Header #489708
    sean nelson
    Member

    Thanks Victor. I had added the background color to see what space the menu was occupying. And applied margin-top:30px to site-header. Then text-align: center. Just felt like I was hacking it to make it work, so your suggestions helped me see that I was on the right path.

    Only thing else I had to add... because I am adding content in the header right widget - removed the function to remove it - was some margin to the top (.header-widget-area) as it was under the menu bar at top, and then float it right because it was sitting next to the logo.

    Prefer the menu in the header but using a mega menu that needs to go full width, so it was not an option in this case.

    Then will remove the header right widget and menu at mobile and replace with wp responsive menu.

    Thanks for the assistance.

    November 26, 2017 at 1:53 pm in reply to: Moving Customization Out of Genesis header.php #213976
    sean nelson
    Member

    I wound up going the Simple Hooks route and adding the code to thegenesis_before_header hook.

    <?php
    if(is_front_page()){
    echo do_shortcode('[rev_slider alias="classic-carousel4"][/rev_slider]');
    }
    ?>

    Since its a slider, just need to edit the slider to make changes.

    Thanks Victor. You put me on track in realizing I was not using the correct hook.

    November 25, 2017 at 1:48 pm in reply to: Moving Customization Out of Genesis header.php #213940
    sean nelson
    Member

    Thanks Victor. I'll have to think this through. I'll post again with results.

    November 14, 2014 at 1:07 pm in reply to: Parallax Pro Site Header transparency and height #131541
    sean nelson
    Member

    Create a transparent background image (25x25 should be fine). Then add the image as a background image for .site-header.

    .site-header {
    background: url(/wp-content/uploads/2014/09/black-opacity-75.png);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 900;
    }

    This will make the header background optic on all pages. It looks good on the home page but not so good on interior pages. (black background image with .7 opacity becomes grey on interior pages when body background is set to white) For the site I'm building I isolated the home page header by adding the following code.

    .home .site-header {
    background: url(/wp-content/uploads/2014/09/black-opacity-75.png);
    }

    Then I left the code for .site-header as originally written. Now header is optic on home page and black on interior pages.

    You can see this on my build site at fourtoscore.com. (If you're reading this in a couple of weeks site will be at oldviningsinn.net)

    January 9, 2014 at 10:55 am in reply to: Streamline: Move Blog Image Below Title Into Content Area #84194
    sean nelson
    Member

    Finally figured this one out and it was so simple it was hard.

    Background: Client wanted to remove the image above the title in the streamline theme for the blog posts showing on the home page. Then wanted the image used in the post to show on the home page.

    Step 1: Remove image above title: In functions. php remove:

    /** Add post image above post title */
    add_action( 'genesis_before_post', 'streamline_post_image' );
    function streamline_post_image() {
    
    	if ( is_page() ) return;
    
    	if ( $image = genesis_get_image( 'format=url&size=post-image' ) ) {
    		printf( '<a href="%s" rel="bookmark"><img src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    	}
    
    }

    Step 2: Show post image on home page:

    Go to css settings and change:

    .home .hentry img {
        display: none;
    }

    To:

    .home .hentry img {
        display: block;
    }
    January 9, 2014 at 7:16 am in reply to: Streamline: Move Blog Image Below Title Into Content #84148
    sean nelson
    Member

    Please delete this post. Copy of another post,

    January 9, 2014 at 7:16 am in reply to: Streamline: Move Blog Image Below Title Into Content #84147
    sean nelson
    Member

    Please Delete this post. Copy of previous post.

    October 15, 2013 at 10:10 pm in reply to: Featured Post Widget Problem (blog on home page problem?) #66938
    sean nelson
    Member

    Solved issue: My guess is that by using Featured Posts in Widgitize page widget, fed into a page and then pulled into home middle by Featured post generated a conflict between Featured Post and Featured Page widgets.

    Instead took code that was on the page I was pulling into home middle and placed it in a text widget for home middle.

    Have to remember to keep it simple.

    September 20, 2013 at 12:05 pm in reply to: Making content go to 100% after sidebar ends #63548
    sean nelson
    Member

    This is a old post but in case anyone is sill looking for an answer here is how I did this on the http://www.surgelabs.com site:

    Full Height Sidebar in Genesis Via Custom Body class

    Theme: Outreach with html5 enabled:

    Step 1: Load following to functions.php

    /**

    * Custom Body Classes
    * @link http://www.billerickson.net/wordpress-class-body-tag/
    * @author Bill Erickson
    *
    * @param array $classes existing body classes
    * @return array modified body classes
    */

    function my_body_classes( $classes ) {

    if ( is_page() )

    $classes[] = "custom-content-bg";

    if ( is_single() )

    $classes[] = "custom-content-bg";

    return $classes;

    }

    add_filter( 'body_class', 'my_body_classes' );

    Step 2: Add following to css

    /* I used this first css code for styling the main container using the custom body class. Not needed for the sidebar 100% extension.
    .custom-content-bg .content {

    float: left;
    background-color: #ffffff;
    border: 1px solid rgb(228, 228, 228);
    padding: 30px 40px 30px 40px;
    margin: 25px 0px 0 0;

    }

    **This is necessary for 100% sidebar extension to work. You can add additional styling elements.

    .custom-content-bg .sidebar {

    background: url("http://your-image-source.jpg") repeat-y scroll -1px top #fff;
    position: absolute;
    height: 100%;
    margin-bottom:25px;
    }

    Step 3: Add position relevant to .content-sidebar-wrap

    ---original code---
    .content-sidebar-wrap {
    float: left;
    width: 860px;

    }

    ---revised code---

    .content-sidebar-wrap {
    float: left;
    width: 860px;
    position: relative;
    }

    This was done using the Outreach theme. I have not tried it yet on any other Genesis themes, but I would expect that it would be similar.

    Hope it helps.

    September 20, 2013 at 12:04 pm in reply to: Full height sidebar, and float left content #63547
    sean nelson
    Member

    Not a complete answer to your question but thought I would add as it may help someone looking to simply extend the sidebar down 100%.

    This is what I did to do this on the http://www.surgelabs.com site:

    Full Height Sidebar in Genesis Via Custom Body class

    Theme: Outreach with html5 enabled:

    Step 1: Load following to functions.php

    /**

    * Custom Body Classes
    * @link http://www.billerickson.net/wordpress-class-body-tag/
    * @author Bill Erickson
    *
    * @param array $classes existing body classes
    * @return array modified body classes
    */

    function my_body_classes( $classes ) {

    if ( is_page() )

    $classes[] = "custom-content-bg";

    if ( is_single() )

    $classes[] = "custom-content-bg";

    return $classes;

    }

    add_filter( 'body_class', 'my_body_classes' );

    Step 2: Add following to css

    /* I used this first css code for styling the main container using the custom body class. Not needed for the sidebar 100% extension.
    .custom-content-bg .content {

    float: left;
    background-color: #ffffff;
    border: 1px solid rgb(228, 228, 228);
    padding: 30px 40px 30px 40px;
    margin: 25px 0px 0 0;

    }

    **This is necessary for 100% sidebar extension to work. You can add additional styling elements.

    .custom-content-bg .sidebar {

    background: url("http://your-image-source.jpg") repeat-y scroll -1px top #fff;
    position: absolute;
    height: 100%;
    margin-bottom:25px;
    }

    Step 3: Add position relevant to .content-sidebar-wrap

    ---original code---
    .content-sidebar-wrap {
    float: left;
    width: 860px;

    }

    ---revised code---

    .content-sidebar-wrap {
    float: left;
    width: 860px;
    position: relative;
    }

    This was done using the Outreach theme. I have not tried it yet on any other Genesis themes, but I would expect that it would be similar.

    Hope it helps.

    February 20, 2013 at 10:24 pm in reply to: Remove post image (not featured image) in Generate #21867
    sean nelson
    Member

    Sridhar,

    Worked perfectly.  Thank you for the help.

    Sean

    February 20, 2013 at 8:57 pm in reply to: Remove post image (not featured image) in Generate #21860
    sean nelson
    Member

    Thanks, not a bad idea.  It would require me to put the image down at least as far as the read more button, but its an option.

    Still hoping for a code solution, though.

    Thanks for taking the time to help.

    Sean

    February 20, 2013 at 1:23 am in reply to: Nav Drop Downs Not Working #21584
    sean nelson
    Member

    I had the same problem with the Generate theme.  More pronounced on Safari than Firefox.  Seems like the hover in the first drop down did not extend all of the way to the second drop down.

    Fixed by making the following change:

    #nav li li a,
    #nav li li a:link,
    #nav li li a:visited {
    background: none;
    border-bottom: 1px dotted #731212;
    color: #fff;
    font-size: 11px;
    padding: 7px 5px;
    position: relative;
    text-shadow: 1px 1px #444;
    width: 145px;   ****this was set at 128. Changed it to 145.
    }

      

    December 26, 2012 at 2:55 pm in reply to: WordPress 3.5 update? Wait for 1.9 or not? #7561
    sean nelson
    Member

    I would wait.  I've had issues with adding header image (skip crop option disappeared) and with adding links to posts (link pop up hangs).  Plus seeing others with issues as well.  Some could be conflicts with particular plugins, but both of mine seem to be core issues.

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

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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