0
votes
2answers
53 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
0
votes
1answer
45 views

Active menu item / category

I was wondering if there's any way to discover which categories are "active" on a category archive page. This is for the purpose of menu highlighting. To demonstrate, compare these: (1) Parent ...
0
votes
2answers
37 views

jQuery not working when used with wordpress menu

I'm using a starter theme that was provided to me by a friend, and have successfully implemented jQuery several times on the website. I want a background image inside a div to change when the user ...
0
votes
0answers
27 views

Add class to menu

I want to add a css class in menu list with this code: function my_special_nav_class( $classes, $item ) { if ( has_nav_menu( 'socialmedia' ) ) { $classes[] = 'btn-social btn-outline ...
0
votes
0answers
63 views

Current state to a button when on a single page

I am having trouble figuring out how to keep the current state active once on a single page of the post. For example: Recipes displays a list of all my post that are under a specific category. Once ...
0
votes
0answers
24 views

Drop Up Menu with a twist

I am trying to make menu tabs slide up like a bookmark on hover so that the main menu item is still on top and the submenu slides up with it. I am using TwentyTwelve WordPress theme. Is this possible ...
0
votes
1answer
216 views

Making a Custom Menu Sidebar Icon show as Current in css [closed]

In the custom WP Menu I have assigned classes which are different for each menu item. For example .power-icon a { padding-left: 35px !important; background-image: url(/images/icon-grey.png); ...
0
votes
1answer
137 views

Theme: Twenty Thirteen Mobile Sliding Menu Doesn't Bump Content Down

I have created a child theme for Twenty-Thirteen and somewhere while editing it I broke the mobile menu slider as it no longer pushes the content down and instead displays behind the content. I've ...
0
votes
1answer
108 views

current_page_item is missing inside wp_nav_menu

I'm using the function wp_nav_menu like this: <?php wp_nav_menu( array( 'container' => false, 'echo' => true, ...
0
votes
1answer
243 views

Drop Down menu expanded by default (on front page) [closed]

For this site users seem to have difficulty finding the site's content that is accessible through the 'Data' drop down menu on the top left. To improve this I would like to have this drop down menu ...
1
vote
1answer
150 views

Add class active to static menu

I have a static main menu, but I'd like to add the class 'active' to the menu item in the nav if it is the page, or a child of that page. I imagine it to be a series of something like: if ( ...
0
votes
1answer
22 views

Odd spacing in Navigation Bar [closed]

I am in the process of redesigning my website, and i'm struggling to find what is causing spacing (margins i'm assuming) between navigation items. I have been delving through chrome developer tools ...
-2
votes
1answer
1k views

Changing when mobile menu is displayed

Wordpress seems to be displaying the mobile menu (in Twentythirteen at least) at 643px wide, however i need it to activate at 767px. I cannot seem to be able to find what activates the menu at 643px, ...
0
votes
0answers
140 views

I can't style my customized navigation menu in my wordpress website!

I am having this problem where I created my website first, with a menu in my header.php page. And then I wanted to transform my website into a wordpress website, so I did what I had to do, but the ...
0
votes
2answers
291 views

Where is definied the theme location for the main menu in a WordPress template?

I am pretty new in WordPress (I came from Joomla) and I have the following doubt related the Theme Location of the main menu. For example, using the preinstalled Twenty Twelve theme, if in the ...
0
votes
1answer
60 views

Some doubts about WordPress handle the horizontal main menu visualization

I am pretty new in WP (I came from Joomla) and I have some doubt regarding how WordPress handles the main menu (I mean the horizontal menu in the header). As example I use this online test website: ...
0
votes
1answer
72 views

Help with changing style of the extended menu drop down [closed]

I am trying to change the style of the extended menu drop down from being on the right side to the left side. As you can see by the picture provided, the menu item named "Catholic Women's league of ...
0
votes
0answers
30 views

Add custom css to menu while using custom nav_menu_tag

I created a custom menu to replace my li with td markers. However, I need to be able to add some custom tags through the wordpress menu. How do I do so? Is there something I can add to my ...
0
votes
0answers
156 views

How do i keep my current page menu highlighted on pagination?

I have a navigation menu in a page that highlights the current menu you’re on based on the URL by adding a class. My problem is that my page is paginated, so sometimes the user will end up at: ...
1
vote
0answers
138 views

Bootstrap Dropdown Menu unresponsive in mobile [closed]

I have built a responsive website using Bootstrap Theme the menu is working fine in desktop, but if I tap the menu button in mobile devices, more often unresponsive and the transition is delay. Any ...
0
votes
2answers
2k views

styling wp_nav_menu - horizontal, sub-menu drop downs

live site. I'm using wp_nav_menu called "blog-nav". It's displaying ok, however I'd like to have it horizontally oriented and with sub-menu drop downs(all lower cased items should be in the drop down ...
0
votes
1answer
78 views

Can't style custom menu

I have a Wordpress menu on my site generated by code: <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-primary' ) ); ?> When I assign the menu called ...
0
votes
1answer
563 views

CSS Classes (optional) on menu is not showing

As you know, there are input boxes for CSS Classes (optional) on each menus. But it's not showing (coming out) in source. Is there any function for disable for CSS Classes (optional)? I need to find ...
0
votes
1answer
189 views

multi level menu not working and not displaying correctly

I have created a multi level menu with wordpress and no matter what i try the menu will not display correctly. here is the genereated menu <div id="cssmenu"> <ul class="menu" ...
0
votes
1answer
48 views

conditional: if is page, and all subpages

What I'm currently trying to achieve is displaying certain menus on certain pages using one template and conditional statements, like so: if (is_page('donate')){ wp_nav_menu(array( 'menu' ...
0
votes
1answer
246 views

wp nav menu: show submenu below li item

I'm trying to figure out if it's possible to show the submenu's outside of the relevant li tag. For example, this php: wp_nav_menu(array( 'menu' => 'side', 'container' => false, ...
0
votes
1answer
4k views

wp nav menu: add attributes to menu items [duplicate]

I'm trying to figure out if it's possible to attach an attribute to a wp nav menu item. To demonstrate, this php: <?php wp_nav_menu(array( 'menu' => 'main', 'container' => ...
-1
votes
1answer
882 views

wp nav menu - highlighting current page not working properly [closed]

I'm trying to highlight the current page in the wp nav menu. I've read through the codex and found .current-menu-item, which I'm using in my CSS.. However it's not working. What am I missing? css ...
0
votes
1answer
134 views

Highlight wp_nav_menu when category is selected

Using the wp_nav_menu() function to display my menu I noticed the highlighting in the menu was working well for the pages I created (like archives.php) but not anymore when a date (date.php), category ...
0
votes
0answers
43 views

WP_Nav Highlight Parent Issue

I'm trying to figure out how to highlight the parent nav of a page and becoming stuck. I've seen something like this : <li <?php if(is_page('services')) { echo 'class="current_page_item"'; } ...
2
votes
1answer
86 views

How to highlight the current page in the nav menu?

I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated. For example: You can clearly see that I'm hovering over a ...
-1
votes
1answer
399 views

Why there is a gap between <UL> and it's container (A drop down menu in wordpress) [closed]

This drop down menu works well in HTML but when i move it to wordpress template, there is a gap between and it's container (.menu-top-container). when the mouse on the menu you will find the gap. ...
0
votes
0answers
291 views

Menu li on hover reveals a Div styled with CSS special effects like transform shapes gradients or a background image

I was asked to make this a more obvious WP question, sorry. It is about the WP NAV MENU I think... Is there a way to have every menu item get listed and have a div correspond to it that is within the ...
-1
votes
1answer
173 views

How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]

I'm currently working on building this site: http://2013.whitehallrow.com/ I would like to centre the menu items so that there isn't the large gap after "Row Club" on the right. I've tried to locate ...
0
votes
1answer
143 views

individual images as navigation design TwentyTen

I can't figure out a solution for changing the black bar in Twenty Ten to individual background images behind each link. Using an image I created in Photoshop I have tried changing a few things in the ...
0
votes
1answer
336 views

define css class in functions.php

In my theme I use theme options to set colors to categories (heading colors, dividers colors etc etc) The way I do it is defining variables which holds a color hexa like so: $category1_color = ...
-1
votes
1answer
365 views

Creating a Horizontal menu

i'm new to creating wordpress themes and want a menu at the Top of my page. I do have the following: Header.php <html> <head> <title>Tutorial theme</title> <link ...
2
votes
1answer
167 views

How to move parent li to end of child ul

I'm working on translating a site from HTML/CSS to Wordpress, and I've come across an issue. In the spirit of keeping the site fully customizable from the dashboard, I've been using Wordpress' default ...
0
votes
0answers
19 views

How do I add the menu item description to the menu? [duplicate]

Possible Duplicate: Menu items description? Custom Walker for wp_nav_menu() I know this question has been asked before, but I haven't quite found the answer I'm looking for. This handy ...
0
votes
2answers
24 views

Styling Active Links Within Wordpress

I wish to style the active link (ie. when home page is selected that the home page link be a different colour) .current-menu-item a { color: #36c; } My test site is : www.milknhny.co.uk/ShopTest I ...
2
votes
1answer
933 views

Vertical Sidebar Menu Parent and Child not displaying correctly [closed]

I am developing a WordPress site and trying to display my menu correctly. How can I display all Parent items but only show the Child items when it's Parent has been selected. I hope that makes sense. ...
-2
votes
2answers
381 views

Formatting WordPress Menus (without bullets, inline with text)

I'm trying to add a copyright statement and footer menu to the footer area of my Twenty Ten child theme. So far I've created the child theme and added the copyright statement and footer menu to the ...
0
votes
2answers
1k views

Menu Arrow for Child Element

I have a menu for a website I am designing and there are parent and child elements...I was wondering if there was someway I could add an arrow to my navigation if the parent has a child element? My ...
0
votes
1answer
991 views

Controlling sub-menu within sub-menu

I have a menu setup at the moment for a site I'm building that I'd like to change a little the way it pops up and doesn't popup :P At the moment, I hover over my main menu items if there are sub ...
0
votes
2answers
394 views

How can I only show one responsive menu on mobile devices?

Here's my site: http://dev.shoeporn.com/ I'm running WP 3.5 and using this plugin: http://wordpress.org/support/plugin/responsive-select-menu It is supposed to allow you to select which menus you ...
2
votes
2answers
238 views

Add nav menu CSS class to body

I would like to add the CSS class of the current menu item (and the classes of its parents & ancestors) to the current page body classes. For example, if the current menu item has a CSS class ...
0
votes
1answer
118 views

How to activate/deactivate menu tab and keep the same id?

I have a problem here and i cant find/think of any solution yet. I want to have a menu button that can be activated/deactivated and still keep the same id so the CSS will still be applied. Is there ...
0
votes
2answers
714 views

Specifying Class style for Menu

Im integrating Superfish into WP. I have called the CSS and the JS. However when I place a class style in the wp_menu as below, the menu is disappearing (see here for rendered output). Could anyone ...
0
votes
1answer
98 views

Bought custom navigation menu from codecanyon, how to change feature.php?

I bought a nav-menu with css but not sure how to use this in my wordpress theme. Is there a standard way to implement it? Like this ...
10
votes
2answers
2k views

How to add sub-menu to a menu generated by wp_nav_menu by using plugin

I have a menu generated by wp_nav_menu which look like <ul class="nav-menu" id="menu-top-nav"> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-43" ...