• 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

Adding a Leaderboard to Focus Header

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 › Adding a Leaderboard to Focus Header

This topic is: not resolved

Tagged: focus, Leaderboard

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by AnitaC.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 4, 2013 at 9:38 pm #54180
    Maddog
    Participant

    Hi all,

    I would like to add a leaderboard to the Focus theme header. I would like my logo on the left and the ad flush right.

    What is the best way to accomplish this?

    I tried using the Header Right widget, however it appears half on the page half off.
    Ideally the Leaderboard would appear when the site is full size (But either scale for cell phones or either not appear on phones if that's not possible)

    Thanks for any help you can provide!
    Regards,

    August 5, 2013 at 5:48 am #54206
    AnitaC
    Keymaster

    Please post a link to your site so we can take a look. But in looking at the demo of Focus, you need to modify the css of the header right widget. Look for this and make whatever changes you want:

    #header .widget-area {
        float: right;
        padding: 25px 20px 0 0;
        width: 530px;
    }

    You will need to also make adjustments to the Title Area since you are widening the header right area:

    #title-area {
        float: left;
        overflow: hidden;
        padding: 15px 0 0;
        width: 400px;
    }

    From my personal experience, depending on what type of content you are looking to have respond in the header right, please note that Google Adsense will not respond, so it's best to use an HTML based ad code. If you want it to show up in the header but not on mobile devices, you will need to add that to the responsive design css or media queries.


    Need help with customization or troubleshooting? Reach out to me.

    August 11, 2013 at 7:34 am #55617
    Maddog
    Participant

    Hi Anitac,

    I think you can now make Adsense responsive to a certain degree with the beta ad unit below.
    http://adsense.blogspot.com.au/2013/07/the-responsive-web-adsense.html

    Should I change the code to look like below?

    #header .widget-area {
    float: right;
    padding: 25px 20px 0 0;
    width: 728px;
    }

    #title-area {
        float: left;
        overflow: hidden;
        padding: 15px 0 0;
        width: 202px;
    }

    Regards,

    August 11, 2013 at 7:53 am #55622
    AnitaC
    Keymaster

    Thanks for sharing that. The previous code was Javascript and it interferred with sliders working. I cannot give you specific CSS instruction because I don't know what theme you are using and you've never provided a URL to your website.


    Need help with customization or troubleshooting? Reach out to me.

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