Lifestyle pro – image directly below nav bar

Community Forums Forums Design Tips and Tricks Lifestyle pro – image directly below nav bar

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  dangermish 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #95571

    dangermish
    Participant
    Post count: 1

    Wondering if anyone can help, i’m stumped!

    Client wants an image directly below the nav bar, different image on each page… i thought maybe a custom field after the nav would do it? found some code that would work for the header, but i don’t have a clue with php so don’t know how to change it…

    code is:

    add_action( ‘genesis_entry_header’, ‘custom_field_before_content’, 15 );
    /**
    * @author Brad Dalton
    * @example http://wpsites.net/
    * @copyright 2014 WP Sites
    */
    function custom_field_before_content() {
    if ( is_singular( ‘post’, ‘page’) && genesis_get_custom_field(‘after-title’) ) :
    echo ‘<div class=”after-title”>’. genesis_get_custom_field(‘after-title’) .'</div>';
    endif;
    }

    I’ve also tried changing padding etc to remove the white gaps but nothing budged!

    This is the website with an image of what i mean http://www.ajloman.com/example/

    Thank you in advance!

    http://www.ajloman.com/example/
    #95616

    Davinder Singh Kainth
    Participant
    Post count: 1453

    You can use featured image functionality. End result will be featured image uploaded in specific post will appear under header area. refer – http://www.organicweb.com.au/17445/wordpress/genesis-move-featured-image/


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #95630

    dangermish
    Participant
    Post count: 1

    Fantastic!! I actually clapped with joy!! Thank you :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.