• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Add fixed content above header

Home › Community Forums › Aspire Theme Support › Add fixed content above header

Tagged: content above header

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 7 months ago by Scott Gilbert.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 5, 2018 at 9:15 am #22874
    carnelldesign
    Customer

    I am trying to add a fixed bar above the header (100% by 35px). Whatever CSS I try has different results in different browsers.

    November 6, 2018 at 9:23 am #22908
    Wes
    Moderator

    Do you have a link so I can take a look at what you’ve done so far?

    November 24, 2018 at 3:16 pm #22915
    Scott Gilbert
    Customer

    I logged in today to ask this same question

    Specifically, I would like to determine the background and text colors and make it clickable. I am fine putting the fixed content above the header, but below works too since I am not using widget 1.

    Here is my link so you can see what I have done so far: https://scottsmoneymachines.com/

    Thanks!
    Scott


    Learn to Make Money Online
    http://ScottsMoneyMachines.com

    November 27, 2018 at 6:06 am #22927
    Wes
    Moderator

    @Scott Gilbert if you’re trying to add a widget area above the header then you can use something like this – http://genesisdictionary.com/before-header/ There are plenty more tutorials out there that show exactly how to add a widget area above the header if you need. Once you get the widget setup just let me know so we can change the background.

    November 28, 2018 at 8:32 pm #22938
    Scott Gilbert
    Customer

    Thanks Wes. I was unable to get the widget set up because I do not know what my widget area ID is. I am technical enough to add the code and figure out some things, but I’ve been struggling trying to figure out how to find or make a widget area ID.

    I am not sure, but I am assuming the widget area ID is the name of the widget, which I expect would show up under “Appearance > Widgets” as an available widget once I create/define it.

    Can you shed some light on this?

    Thanks,
    Scott

    —- These are the instructions you sent me to —-

    Example 2: add an extra widget area above the site header. Just replace before-header with your widget area ID.

    <?php
    // Paste the code BELOW this line into your child theme functions.

    /**
    * Add a widget area before the site header with Genesis
    *
    * @author Reasons to Use Genesis
    * @link http://reasonstousegenesis.com/before-header/
    */
    add_action( ‘genesis_before_header’, ‘rtug_before_header_widget_area’ );
    function rtug_before_header_widget_area() {

    genesis_widget_area( ‘before-header’ ); // replace before-header with your widget area ID

    }


    Learn to Make Money Online
    http://ScottsMoneyMachines.com

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2022 · Appfinite · Built With The Genesis Framework