Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Philippe Wittenbergh
Le 2 août 2014 à 01:46, Debbie Campbell a écrit : > http://www.redkitecreative.com/dev/pestpro/bed-bug-heat-products/small-apartment-package/ > > If you hover the red main menu item, you'll see the dropline menu. I'd like > that to be open always when it's parent is current, or when one of the

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
I think I got it! .wrap li:hover > ul, .wrap li.current-menu-item > ul, .wrap li.current-menu-ancestor > ul { display: block !important; left: 0; padding: 0; visibility: visible !important; } -- Debbie On 8/1/2014 11:51 AM, Tom Livingston wrote: For example, the

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
Okay, this works: .page-189 .menu-item-210 ul { display: block !important;} That points me in the right direction, but I'll probably still try to get rid of the JS, it's not really needed. I'll report back when I get a final fix, thank you! -- Debbie On 8/1/2014 11:51 AM, Tom Livingston wr

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Tom Livingston
>> For example, the "Small Apartment Package" has the class `page-189` on >> the , and the menu item has the class `menu-item-210`. In >> this scenario, you would need something like: >> >> .page-189 .menu-item-210 ul { display: block;} >> >> Again, there are other considerations because you're s

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Tom Livingston
On Fri, Aug 1, 2014 at 1:15 PM, Debbie Campbell wrote: > It only appears on hover for me in the latest Chrome/FF.. Sorry I misunderstood what you were after... -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ___

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Chris Rockwell
You may not need to Debbie, I just wanted to mention it. Why not add the CSS I included to your stylesheet and se Chris Rockwell I'm not at all opposed to removing the JS, it's kind of an artifact... -- Debbie On 8/1/2014 11:26 AM, Chris Rockwell wrote: > Hi Debbie, > > If I understand you co

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Chris Rockwell
You may not need to Debbie, I just wanted to mention it. Why not add the CSS I included to your stylesheet and see what happens on that specific page? If nothing, add `!important` and check again. If that achieves your desired effect, you can think about how best to refactor (like get rid of the

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
I'm not at all opposed to removing the JS, it's kind of an artifact... -- Debbie On 8/1/2014 11:26 AM, Chris Rockwell wrote: Hi Debbie, If I understand you correctly, you want the sub menu to show when one those pages are active, correct? Because you're using javascript for this, there will b

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Chris Rockwell
Hi Debbie, If I understand you correctly, you want the sub menu to show when one those pages are active, correct? Because you're using javascript for this, there will be more considerations, but the basics of it is that you'll have to target the sub-menu based on the page. For example, the "Smal

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
It only appears on hover for me in the latest Chrome/FF.. -- Debbie On 8/1/2014 11:13 AM, Tom Livingston wrote: Works in latest Chrome and FF for me. On Fri, Aug 1, 2014 at 12:46 PM, Debbie Campbell wrote: I managed to get a dropline menu working in WordPress, but the submenu won't stay open

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Tom Livingston
Works in latest Chrome and FF for me. On Fri, Aug 1, 2014 at 12:46 PM, Debbie Campbell wrote: > I managed to get a dropline menu working in WordPress, but the submenu won't > stay open: > > http://www.redkitecreative.com/dev/pestpro/bed-bug-heat-products/small-apartment-package/ > > If you hover

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
Yes, I have a clickable mobile menu that's triggered by a media query, this one's desktop-only. -- Debbie On 8/1/2014 10:59 AM, GJim wrote: Howdy Debbie, ~~~ Friday, August 1, 2014, 11:46:50 AM (USA 'Somewhere on-the-road time-zone'), you wrote the message that appears below. My reply appear

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread GJim
Howdy Debbie, ~~~ Friday, August 1, 2014, 11:46:50 AM (USA 'Somewhere on-the-road time-zone'), you wrote the message that appears below. My reply appears here and/or interspersed within your message. ~~~ > If you hover the red main menu item, you'll see the dropline menu. I'd > like that to be o

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
Yes, ul.sub-menu is triggered on hover and wraps the dropline menu items... -- Debbie On 8/1/2014 10:50 AM, Tom Livingston wrote: Can't inspect on my phone (that would be nice, huh?) but I'll take a stab at it. Is the element triggered on hover wrapping the menu items? On Friday, August 1, 2

Re: [css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Tom Livingston
Can't inspect on my phone (that would be nice, huh?) but I'll take a stab at it. Is the element triggered on hover wrapping the menu items? On Friday, August 1, 2014, Debbie Campbell wrote: > I managed to get a dropline menu working in WordPress, but the submenu > won't stay open: > > http://w

[css-d] keeping submenu open when parent is 'current'

2014-08-01 Thread Debbie Campbell
I managed to get a dropline menu working in WordPress, but the submenu won't stay open: http://www.redkitecreative.com/dev/pestpro/bed-bug-heat-products/small-apartment-package/ If you hover the red main menu item, you'll see the dropline menu. I'd like that to be open always when it's parent