Making a Menu Bar at the top with the rss feed
I wanted to put this in the right spot. from:
Jon is using an action hook there, but since that post, Syahir has added action hook widgets to Graphene to make it even easier.
Go to Graphene Options >> Advanced >> Action Hook Areas
click on “header.” A list of action hook widget areas will pop down. Click on “graphene_feed_icon”. Scroll to the bottom of the page and save options.
Go to your widgets pane. There is now a “Graphene Feed Icon” widget area. Drag a text widget over to it and add whatever text/html you like.
Good luck, and let us know how it works.
Okay, I’ve tried and tried, but can’t get the css right. I know to use firebug and to copy the css from the theme to get it to work the same, but it just isn’t working.
To bad the theme doesn’t use classes everywhere instead of using id. then I’d try to just set up div with the same name as the reg menu.
at the top next to the rss icon **and under it 🙁 **
I’ve tried that. It doesn’t work. All that does it put a menu that is just the
<a>links in it. It does not style them.
I’ve put all of the action hook widgets in for the headers with the custom menu’s on them to show what it does.Mod
You need to give that
<div>the same styling information that the main navigation menu has. This might be a lot of work.
Try this, although it is completely untested:
Wrap your code in a
<div>, and style it like this:
Now go the original Graphene style sheet, and find anything that has the id
#header-menu-wrap(lines 276-358). Copy it and paste it into a new text document. Do a global search and replace.
Replace with: “#first-menu”
There should be around 32 of those changes. Then copy this entire document and paste it into your child theme style sheet.
This is completely untested. Basically, you are creating an additional navigation menu besides the two that Graphene already has, and styling it like the main one.
Syahir will probably either laugh or just shake his head sadly when he sees this.
(I mentioned this is completely untested, right? Okay, good.)Mod
You must be logged in to reply to this topic.