Forum Replies Created
-
AuthorPosts
-
jhollomanParticipant
Hello,
I was wondering how to add a 1140x200 header in place of the default 320x110 size in 'Header' section under 'Appearance'?
James
jhollomanParticipantYes I am.
jhollomanParticipantAnita,
Thank you for taking time out to offer your assistance, I appreciate it.
In response to your question, no I am using my secondary menu (below the header) for my Home/About/Contact/Privacy navigation.
I understand what you are driving at, but I want to basically do exactly what you did on your http://goo.gl/1AsaA website, except not have the box so tall.
I've seen in the theme settings where I can place the search box to the right, but it appears on my header, I don't want that, I want it above the header just like yours.
Initially I went into the functions.php and added "topnav" so that I had a new widget, but then went with the simple sidebar plugin, which does the same thing. Then I found simple hooks to be better because it has a hook that you can place the code in to create a topnav bar above the header. I know I could achieve the same by just activating the primary menu, but I want
Now I'm just trying to figure out how to call the "topnav" code in the stylesheet that will resize and color the bar.
James
jhollomanParticipantI was just reviewing my post and saw some funky coding.
The code for the simple hooks plugin includes everything after the "MsoNormal" for each line.
James
jhollomanParticipant@pete & Sozo,
I just took a peek at your site and I am trying to do the same, add a top nav above the header.
Would you mind sharing your code that used to get the result you wanted.
I added a widget via the functions.php using this code:
genesis_register_sidebar( array(
‘id’ => ‘topnav’,
‘name’ => ‘Top Nav’,
‘description’ => ‘This is top nav above the header.’,
) );I added the simple hooks plugin and called up the nav before the header using this code:
</p> <p class="MsoNormal"><div class="topnav"></p> <p class="MsoNormal"><?php dynamic_sidebar( ‘topnav’ ); ?></p> <p class="MsoNormal"></div></p> <p class="MsoNormal">
Result is I can see the spacing for the nav bar above the header, but the id (#topnav) i created inn the style sheet does not display the topnav bar as I would like.
I'd like to know how you solved this on your site.
JamesjhollomanParticipantMy bad, yes I am using Firebug.
I snatched the code and modified and placed it in the style sheet above the header code like so like so:
/* TopNavbar
------------------------------------------------------------ */#topnavbar {
background-color: #0f1839
background-position: initial initial;
background-repeat: initial initial;
border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 1px;
height: 40px;
height: 40px;
}But I don't see the placement above the header when I refresh the page from the WP-Admin for the site.
In addition, I don't see the code when I use Firebug and I don't see the "div id="topnav" when I view the page source.
I am beginning to understand how things are layed out in the style sheet, but can't figure this one out...I know I'm close.
James
jhollomanParticipantI got it squared away.
I imported the xml file and viewed my site and demo site side by side.
My Front page display settings under the "Reading" settings were incorrect, I had the option set to "static posts" instead of "last post"
James
-
AuthorPosts