Home › Forums › Weaver Xtreme Theme › Custom menu bars on pages
- This topic has 4 replies, 2 voices, and was last updated 7 years, 1 month ago by
GoScoutUK.
-
AuthorPosts
-
May 3, 2015 at 14:34 UTC #17708
GoScoutUK
ParticipantI have to admit to being confused on special menu bars on specific pages on websites. In the past on weaver II Pro, I could use a premain code of [weaver_extra_menu menu='Bangkok' style='menu_bar' css='padding-left:0px; padding-right:0px;'] in the custom areas, and set the page to ignore the standard main menu. This would show a special menu in its place called ‘Bangkok’.
Now with weaver xtreme, I’m not sure how to code this. What I want is to replace the standard menu with a custom menu, specific to pages. I can’t have it on the widget area, as this doesn’t go in the right place (and anyway the dropdown doesn’t work.) I reckon the shortcode of [extra_menu menu_name='Bangkok' menu_style='primary' menu_type='horizontal'] should be right, but how do I get the page to see it (Do I put this in a custom field, and if so what name?). And do I need any special custom css rules?
Please see http://www.nickysgaypattaya.com/gay-pattaya/news/openings-and-closings/archive-bk/ for an example. The special menu has disappeared.
Thanks
Guy
May 3, 2015 at 14:52 UTC #21792scrambler
ModeratorExactly the same principle as weaver II, and extra menu shortcode in a page custom field with the name of the insertion are you want to use.
Here are all the current ones
http://demo.weavertheme.com/insertion-areas/
So right now you would need to use the Container top area (custom field name container_top ). In the next version, weaver is adding the equivalent of premain which was indeed missing.
May 3, 2015 at 15:17 UTC - Views: 2 #21793GoScoutUK
ParticipantAlmost got it. That’s certainly got the menu in the right place. I used a shortcode of [extra_menu menu_name='Bangkok' menu_style='primary' menu_type='horizontal']
In the custom css rules, I have .extra_menu .menu_bar ul {margin-left:2px; }
However, please look at http://www.nickysgaypattaya.com/gay-pattaya/news/openings-and-closings/archive-bk/
The menu is not giving main and dropdowns, it’s all on one line, making a huge menu out of things. It should look like http://www.nickysgaypattaya.com/gay-pattaya/
Thanks
Guy
May 3, 2015 at 16:14 UTC #21794scrambler
ModeratorIf you had read the help of the extra menu, you would have noticed that type horizontal is not what you want 🙂
You want standard
May 3, 2015 at 21:34 UTC #21795GoScoutUK
ParticipantThank you so much. I got confused between all the options. Appreciate the help scrambler.
-
AuthorPosts
- You must be logged in to reply to this topic.