• 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

How do I get banner ad at the top of my blog?

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 › How do I get banner ad at the top of my blog?

This topic is: not resolved

Tagged: banner ad, Luscious, New Widget Area

  • This topic has 10 replies, 5 voices, and was last updated 12 years, 8 months ago by kathiemt.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • January 3, 2013 at 9:38 pm #9364
    LauraJane
    Member

    I'm using the Luscious theme, and I'm wanting to place a banner ad below my header but above my top post title. There's not a widgeted area there, so can I create one myself? If so, how? I'm assuming once I know how to do that I could use the same process to put a banner ad at the very top above the header like I've seen on many blogs.

    January 3, 2013 at 9:52 pm #9369
    Susan
    Moderator

    Try this:

    http://www.briangardner.com/home-widget-area-eleven40/

    January 3, 2013 at 9:55 pm #9370
    buddy_boy8403
    Participant

    Nick The Geek has a great tutorial on how to create sidebars on his site.  You just need to make sure you are referencing the correct Genesis Hook when creating the new sidebar in your functions.php file.  Luckily, StudioPress has created a hook reference for you!

    I believe the hook you want is: genesis_after_header

    Give this a shot yourself using the reference materials and let me know if you can't get it.

    Also, for future reference, a link to you site is always helpful!

    January 4, 2013 at 6:57 pm #9634
    LauraJane
    Member

    I used the Simple Hooks plugin and added this code to the Genesis_before_loop hook:

    <div align="center">
    <a href="http://jvzoo.com/c/40596/18792" target="_blank"><img src="http://crystalpaine.com/wp-content/uploads/2012/10/21-days-disclipined-life-728x90.jpg" width="620" alt="21 Days to a More Disciplined Life" /></a>
    </div>

    Fortunately it pretty much worked. I'd like more space between the image and the post title. Is there a way to add some padding or margin using the plug in/html code or do I need to add an actual widget area there in order to use CSS to accomplish that?

    My site: http://www.SuperSweetLife.com

    January 4, 2013 at 7:04 pm #9636
    LauraJane
    Member

    I used the Simple Hooks plugin and added html code to the Genesis_before_loop hook.

    Fortunately it pretty much worked. I'd like more space between the image and the post title. Is there a way to add some padding or margin using the plug in/html code or do I need to add an actual widget area there in order to use CSS to accomplish that?

    Here's my site: http://www.SuperSweetLife.com

    January 4, 2013 at 10:05 pm #9688
    buddy_boy8403
    Participant

    Did you pull in a text widget and paste the ad code in the widget area?  If so, try encasing your ad code in this:

    <div class="below-header-ad-banner">
    ..... ad code here.....
    </div>

    Then add the following to the bottom of you theme's style.css file:

    .below-header-ad-banner .widget-wrap {
    padding: 10px;
    }

    January 5, 2013 at 3:44 am #9701
    Brad Dalton
    Participant

    You can add Vertical and Horizontal spacing to images using the Advanced Image Settings


    Tutorials for StudioPress Themes.

    May 13, 2013 at 5:00 pm #40734
    kathiemt
    Participant

    I'm looking to do the same thing but find that the luscious theme doesn't have a home.php file to put the second part to hook the featured widget as listed at http://www.briangardner.com/home-widget-area-eleven40/

    Trying to figure out what else I can do.  Unfortunately just adding the first part made the site go white, invisible, even after removing the code.

    The site I'm trying to do this to is http://redlandcityliving.com/


    Kathie Thomas

    May 13, 2013 at 6:07 pm #40752
    Brad Dalton
    Participant

    I just updated a post on this.

    Really not a great idea to edit template files when you can use custom functions.

    You can add a custom function in your child themes functions.php file.

    1. You can create a new widget

    2. Or hook HTML in directly

    Use any hook position

    Please copy the code using the view raw link and paste it in child themes functions file using a code editor like Notepad++.


    Tutorials for StudioPress Themes.

    May 13, 2013 at 6:42 pm #40767
    Brad Dalton
    Participant

    Forgot to add, change the 007 to blog or the name you use for your blog page.

    Or you can add the page.i.d for your blog where 007 is.


    Tutorials for StudioPress Themes.

    May 13, 2013 at 8:16 pm #40805
    kathiemt
    Participant

    ok, thanks, will give that a try.  Much appreciated.


    Kathie Thomas

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

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