- This topic has 4 replies, 3 voices, and was last updated 4 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Aspire Theme Support › Add fixed content above header
Tagged: content above header
I am trying to add a fixed bar above the header (100% by 35px). Whatever CSS I try has different results in different browsers.
Do you have a link so I can take a look at what you’ve done so far?
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
@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.
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