• 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

Customize Agency Theme Below 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 › General Discussion › Customize Agency Theme Below Header

This topic is: not resolved

Tagged: fixing

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 3 months ago by Riavon.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 28, 2012 at 6:57 am #7868
    carnelldesign
    Member

    I need to add a yellow bar below the header that has scrolling text in it. What is the easiest way to accomplish this?

    December 28, 2012 at 7:16 am #7869
    Riavon
    Member

    Please provide us with a link to your site as well as which Genesis theme you're working with. This enables us to help you a little better. Thanks!


    Twitter: @riavonentprises

    December 28, 2012 at 7:27 am #7870
    carnelldesign
    Member

    I am working with the Agency Theme. Here is a link to the website http://apmarkings.com/

    Thanks:)

    December 28, 2012 at 8:21 am #7878
    Riavon
    Member

    Nice looking site, but there is a lot going on here. Are you sure you want to add even more to it? Especially more movement? I would caution you on that, simply due to the fact that you run the risk of overwhelming your visitors with a lot of visual activity that may take the focus off your primary objective, rather than enhance it.

    That being said, with a quick glance at your site using Firebug, I can see that that your header area is structured in a way that you are using a background image in the body tag to style the top portion of the pages. This doesn't leave much room for flexibility in the design. I assume you want your yellow-background marquee area to be the full width of the browser window? Do you want the marquee to appear on all pages or just the home page?

    If you want the yellow strip to appear the full width of the browser window, you would have to change the existing background image you're using now to incorporate a yellow strip where you want it to appear, then adjust your other settings, such as your #inner div so that it has a bigger top margin to allow for the additional height of the yellow marquee area.

    If the theme's design was configured differently, you could add another div and everything would naturally move down as needed with the existing margins set. Also, the way your site is configured, the scrolling text will only go as wide as 960px which is the width of the #wrap div which contains all of your actual page content.

    All that being said and done, if you have the Genesis Simple Hooks plugin, you can add your HTML for the scrolling marquee in the genesis_after_header Hook

    Something similar to this:
    <div class="marquee"><marquee behavior="slide" direction="left">Your slide-in text goes here</marquee></div>

    The above code presumes that you add your .marquee to your style.css something like

    .marquee {
    width:100%;
    height:40px; (whatever height you want it to be according to the height of the strip you create in the bg image)
    text-align:center;
    background-color:transparent;
    padding:0
    margin: 0 auto;
    color:#000
    font-size:14px
    }

    This is my best guess, and hopefully a place for you to start.


    Twitter: @riavonentprises

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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

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