113 reputation
4
bio website cenit-del-petroleo.com
location Isle of Wight, United Kingdom
age
visits member for 2 years, 11 months
seen Jan 23 '12 at 11:47

PhD in Physics, working in wind energy. Currently learning phython, javascript, css, html ... for web development and data processing.


Sep
24
awarded  Autobiographer
Jun
11
awarded  Student
Aug
12
awarded  Popular Question
Jan
23
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
Got it. Thanks.
Jan
20
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
thanks for the suggestion. it makes sense ... although it may be a complex thing to find if someone maintains the code later on.
Jan
20
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
I understand that code. thank you for the suggestion. However I'll stick to wp_nav_menu as it's where I'm starting from.
Jan
20
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
Hi Rob. I can't see "home" and "menu-item-47" as classes associated with "blog". Rather I only see, "menu-item menu-item-type-custom menu-item-object-custom menu-item-47". So, unless I'm missing something I don't think that CSS would target it. Sanchothefat's solution solves it though.
Jan
20
awarded  Scholar
Jan
20
accepted When at / ( or “home”) my menu doesn't get a current-menu-item class
Jan
20
comment When at / ( or “home”) my menu doesn't get a current-menu-item class
I can't believe it was that simple. Thank you for the tip.
Jan
20
asked When at / ( or “home”) my menu doesn't get a current-menu-item class