custom theme – help with menu
-
hi all… i just made a theme based on a static html website i built.
So far it came out ok. the website is basically my portfolio.
i’m having issues with with the menu. Could someone take a look and help me ?
website: rossow-web.com
thanks, roy
-
Are you trying to make a horizontal menu? Something like this should get you started:
#menu li { display: inline-block; padding: 15px 15px 0 0; }From there, you can style links using
#menu a { ... }.stephen thanks so much for your quick response!!
yes a horizontal menu…
if you go to the link rossow-web.com i just made the change….
another question… if you go through the links… i dont know why the ‘painting’ section drops down… do you see that?
How also can I modify the order of my menu? I don’t have a menu option under appearance…
These below are the pages/files I used to create my theme:
Templates
Design_v6 Page Template
(fineart_page.php)
Footer
(footer.php)
Header
(header.php)
Main Index Template
(index.php)Styles
Stylesheet
(style.css)I don’t see a drop down. Can you post a screenshot of what you’re seeing? You can post it to someplace like Imgur.
For your menu issue, you need to call
register_nav_menu()in yourfunctions.php:<?php
add_action( ‘after_setup_theme’, ‘register_my_menu’ );
function register_my_menu() {
register_nav_menu( ‘primary’, ‘Primary Menu’ );
}Imgur.com huh? never heard of that site before…. very cool…
just posted the screen grab…
here is a link…. http://imgur.com/FbLfwcf
————–
menu issue:
ok… i’m not familiar with the functions.php file…
i’ll look it up now on wordpress codex.
ok… awesome! i did it and it worked….!
gave me the menu option…
I don’t see that extra space on any of my browsers (Safari, Firefox, Chrome, all on Mac OS X Yosemite). Do you see that space if you use a different browser? Do you see that space if you log out of WordPress?
i tried chrome, opera, IE and safari
i’m noticing its happening only in firefox…
it was the dashboard pushing the page down…when i’m logged in… it shows up as blank…i must have missed a code…
The topic ‘custom theme – help with menu’ is closed to new replies.