Creating new THEME from scratch menu current not showing
-
I have done the install for localhost and all works.
I have downloaded the files that were recommended to create my own theme (i know, big thing to take on). (hope this is the place to post, if not please advise)
all is working out well except…
I have a main menu and in that menu some submenues that look great.
when I click on a sub menu and go there, I want the main menu to be in the header, where it is, and works great, the subpages will have a menu as well, and they do…
Main Menu:
- About
- Products
- Solar
- LeafGuard
- Gaurantee
Solar Menu on Solar Page
Why Solar
Save Money
etc…THE PROBLEM:
When I inspect element on the rendered solar page in the solar menu, there is no class or tag stating it is the current item.QUESTIONS:
Did I do something to any of the wordpress pages I should not have? did not mess with themis my menu for the solar not correctly implemented?
<nav id="solar><?php wp_nav_menu( array( 'container_class' => 'solar_menu', 'theme_location' => 'solar' , 'container' => '' ) ); ?></nav>
The Solar page is Why Solar to begin with… the title is the same, the menu title is the same, the page url is the same. but it does not show that it is the current page.
I do not know what else to ask or write. been looking for 2 days now and I am stumped.
- The topic ‘Creating new THEME from scratch menu current not showing’ is closed to new replies.