Word Based Header and Drop Menu
-
Hi, I’ve been trying to create a word based drop down header and menu. Unlike the other codes for menus I’ve seen I would like the menu to be pretty barely styled (no background color, no bevel buttons, no borders, or gradients) and to also control the width of the menu. Tried styling existing codes for menus but to no avail especially since I’m trying to link to the font I want to use. I would appreciate any help. This is the code I’ve been looking at so far.
-
What stage are you at now? You have a website with a menu, but you can’t change the font size? If so, can you link the webpage?
Thanks for the response. I’ve pretty much finished most parts of the site; I just need to get the header and menu up. This is what I have so far but I wanted the header and menu to be aligned right and in-line with the bottom of the logo. I erased the menu code because it wasn’t working to any adjustments. Was wondering if there’s a better code available than the one I referenced. I wanted the header and menu to be word-based, no images, but it’s been tricky since I wanted to link to a font on my server instead.
The CSS you’ll probably have to write yourself, but the HTML can be generated for you through the wp_nav_menu function.
This would utilize the WordPress menu, correct? Can one just style a WordPress menu that you create on the Dashboard?
Can one just style a WordPress menu that you create on the Dashboard?
The menu you create in Appearance > Menus?
Yes
The
wp_nav_menufunction will get that custom menu and generate HTML in relation to it.I’m unsure of how to go about that then. Pulling up the wp_nav_menu function in headers.php and then style through style.css?
That sounds about right.
So I decided to go with a different approach to the menu. I just used HTML list commands and styled in style.css. Problem now is that the drop down menu will not overlay the underlying post and that the drop down portion of the menu will not stay long enough to select an option.
This is the styled portion of the Menu…and here is the code for the Menu that I put up on header.php
Any suggestions?
The topic ‘Word Based Header and Drop Menu’ is closed to new replies.