Posted 08 January 2013 - 01:34 PM
I would like to change the classic main menu for another customized menu only in 7 specific pages, i've already created the other menu using the option appearance > menu. I've tried to use the drag & drop templates to customize this but, couldn't figure it out a way of doing this.
Googling a bit i've found this, but i don't now if it's the best way of doing it, taking this php code and inserting inside a hook to make it works. any help?
Posted 08 January 2013 - 01:48 PM
I apologise but I am not sure what you're trying to achieve, would it be possible to go into greater detail please.
Posted 08 January 2013 - 02:01 PM
Here is an example of my current web site with the old themeyou're going to see a menu which is different then this one .
I want to make the same thing on this web site. using pagelines.
Posted 08 January 2013 - 04:11 PM
To customize your navigation, please use Custom CSS:
For further reference, please see:(specifically the Styling Backgrounds and Styling Links documentation)
Posted 08 January 2013 - 04:34 PM
I don't want to customize the style in this case. I want to make a menu with different options for a specific page.
Home page Menu with options -> home and contact
and another this specific page with a different options inside the menu, like -> Service, sitemap.
Posted 09 January 2013 - 03:25 AM
There's four options built into the framework to assign different navs to a menu area, but nothing that will allow you to set two different navs to one area depending on location. I've had a look around and there's no plugins which can assist either, so it looks like using a hook is the most likely option.
Otherwise you'd have to use another nav container, like classic nav and style it to match the other nav as closely as possible. Then choose to hide one or the other on a per page basis using the meta options.
The only thing you could try is using css to hide the menu items you don't want on a per page basis by setting them to display:none using the .page-id-x prefix to your css.
Posted 09 January 2013 - 12:58 PM
Thanks for you explanation.
For what i need, the better is using the same type of menu as the navbar and use the hook. Now i need to find what hook correspond to the navbar in order to create a extra code to do this.
Do you know what is the right hook i could use to change the navbar options?
If it is too difficult, then i will hide the primary navbar(Nav classic) using the drag & drop and use de Navbar as default.
Posted 09 January 2013 - 01:02 PM Best Answer
To locate the correct hook, use the ActionMap plugin -