3 reputation
1
bio website
location
age
visits member for 10 months
seen Apr 15 at 19:24

Sep
17
awarded  Scholar
Sep
17
accepted Update body class based on menu
Sep
14
comment Update body class based on menu
@CharlesClarkson The menu is fixed/sticky at the top of the page. On pages where there is either a child menu, or is a child page, the sub menu (level 2) is visible. So i need/want to add a class to the body, so I can move the content down via CSS so the fixed menu doesn't overlap. I was hoping to find a non-js solution.
Sep
13
comment Update body class based on menu
@G.M. you're totally right, I need to hook into the menu before the body tag is called.
Sep
13
asked Update body class based on menu