• 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 to place banner ad in header :: Next to logo?

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 to place banner ad in header :: Next to logo?

This topic is: not resolved

Tagged: banner ad, header, widget

  • This topic has 12 replies, 5 voices, and was last updated 11 years, 9 months ago by Genesis Developer.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • February 25, 2014 at 3:42 pm #92348
    zerway
    Member

    Hello,

    How can I place a 728x90 banner ad in the white space to the right of my logo at http://www.singleroots.com?

    I've tried using the "Header Right" widget in the Metro Genesis theme, but it only spans about 200 pixels.

    Thanks for any help!

    Ryan

    http://www.singleroots.com
    February 25, 2014 at 6:05 pm #92369
    Peter
    Member

    Put it back in the header right widget area, that's the right place to put it. Need to see it, but you should be able to adjust the width of that area.

    February 25, 2014 at 11:18 pm #92409
    Brad Dalton
    Participant

    Line 450 of your child themes style.css file.

    Increase width.

    #header .widget-area {
    	width: 31.111111111%; /* 336px / 1080px */
    }
    

    Line 519 increase min-height

    #header {
    	min-height: 87px;
    	overflow: hidden;
    }
    

    Line 558 increase min-height

    .header-image #title,
    .header-image #title a,
    .header-image #title-area {
    	display: block;
    	float: left;
    	min-height: 87px;
    	overflow: hidden;
    	text-indent: -9999px;
    }
    

    Tutorials for StudioPress Themes.

    February 26, 2014 at 10:49 am #92482
    zerway
    Member

    Peter & Brad,

    Thanks for commenting. Unfortunately, it doesn't seem to be working with the changes you suggested.

    I changed the style.css in the Metro theme 2 different ways and both had the same negative result. Both changes made all the content in my right sidebar disappear. The sidebar was still shown...it was just empty.

    I tried:

    #header .widget-area {
    width: 728px; /* 336px / 1080px */
    }

    AND

    #header .widget-area {
    width: 50%; /* 336px / 1080px */
    }

    Changing "min-height" to 90px did not cause any problems. Only adjustments to width.

    I have inserted the banner in the Header-Right widget area, so you can see what it looks like before making any changes to style.css.

    Am I increasing the header widget width incorrectly?

    Thanks for the help...Ryan

    February 26, 2014 at 10:54 am #92483
    darrencknight
    Member

    Have you tried using the Google Publisher plugin? I just started using it and I like it. Follow the setup instructions. It may or may not be able to find that location to insert an ad.

    https://wordpress.org/plugins/google-publisher/

    February 26, 2014 at 11:44 am #92491
    Peter
    Member

    Zerway,

    #title-area {
    max-width: 300px;
    }

    .header-widget-area {
    max-width: 728px;
    }

    note: remember to remove #header widget-area { width: 31.11111%; }, or add the width to this instead.
    You can use use width or max-width, but max-width will preserve the mobile responsiveness.

    February 26, 2014 at 1:04 pm #92511
    zerway
    Member

    Peter,

    I made your suggested changes, and it did make the "right header widget" area 728px, but unfortunately, it made the right sidebar move with it -- it became 728px as well.

    Sidenote: Another thing that happen when I made this change...my logo lost it's hyperlink?

    Below is what I changed...I'm not sure why my "right sidebar" seems to mimic by "right header widget." Any ideas what I'm doing wrong?

    1a) Original:

    .content-sidebar #content,
    .sidebar-content #content,
    #title-area {
    width: 65.55555555%; /* 708px / 1080px */

    1b) Changed to:

    .content-sidebar #content,
    .sidebar-content #content,
    #title-area {
    max-width: 300px; /* 708px / 1080px */

    AND

    2a) Original:

    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .sidebar,
    .subnav-left,
    #header .widget-area {
    width: 31.11111%; /* 336px / 1080px */
    }

    2b) Changed to:

    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .sidebar,
    .subnav-left,
    #header .widget-area {
    max-width: 728px; /* 336px / 1080px */
    }

    February 26, 2014 at 1:25 pm #92515
    Genesis Developer
    Member

    go to line no 471 and replace

    .content-sidebar #content, .sidebar-content #content, #title-area {
        width: 65.5556%;
    }

    with

    .content-sidebar #content, .sidebar-content #content {
        width: 65.5556%;
    }

    And replace

    .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar, .subnav-left, #header .widget-area {
        width: 31.1111%;
    }

    with

    .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar, .subnav-left {
        width: 31.1111%;
    }

    I think that all will be solved now


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    February 26, 2014 at 2:08 pm #92528
    zerway
    Member

    genwrock - This did it! Now, the only thing it broke is the image hyperlink for our logo. Any ideas why it did this?

    Thanks for much for the help so far.

    February 26, 2014 at 2:27 pm #92537
    Peter
    Member

    Zerway, you should add the code exactly as shown (if unsure where to put it, then put it in the bottom of your stylesheet). What you did there was change the width for all of those elements listed, which is obviously not what you want.

    February 26, 2014 at 9:35 pm #92588
    Genesis Developer
    Member

    @Zerway

    Add this code in your style.css file

    #title-area{display: block; width: 27%;}

    So All will be shorted now


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    February 27, 2014 at 8:40 am #92668
    zerway
    Member

    @genwrock -- that did it.

    Thanks to everyone who took the time to help me with this issue. This was my first time on this forum, and I am very grateful for you guys offering your expertise.

    Thanks again,

    Ryan

    February 27, 2014 at 9:56 am #92679
    Genesis Developer
    Member

    Welcome to Genesis Community Club. Here everyone is very helpful & expert.

    Thanks

    Chinmoy


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

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

© 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