Adding a banner below the header

Community Forums Forums General Discussion Adding a banner below the header

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  mariafernandez 1 year, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23307

    mariafernandez
    Participant
    Post count: 27

    Does anyone know what the simplest way is to add a banner below the header and above the post title on every post?

    Thanks.Maria

    #23329

    braddalton
    Participant
    Post count: 10563

    Insert you banner into a new post draft and centre it

    Grab the HTML for the banner from your text editor

    Install the Genesis Simple Hooks plugin and add your HTML for the banner to this code:
    [php]
    <?php if (is_single() ) { ?>
    <p>HTML-Code-Goes-Here</p>
    <?php } ?>
    [/php]

    Paste the code into the Hook location using the genesis_before_content Hook field in the plugin settings.

    You can put you adsense in there as well.


    #23364

    mariafernandez
    Participant
    Post count: 27

    I actually need it to go above the post title and the sidebar (the banner is wider than the post area). Would that be the genesis_before_content_sidebar_wrap hook then?

    #23377

    braddalton
    Participant
    Post count: 10563
    #23469

    mariafernandez
    Participant
    Post count: 27

    Thanks, Brad. The banner is now in place.

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

You must be logged in to reply to this topic.