Boost structure - nav draw class names

Boost structure - nav draw class names

by Mike Wilson -
Number of replies: 0

I've starting to have a look at Boost with a view to using it as the parent of our new theme.

I want to introduce some visual sign-posting for the nav draw as it feels a bit confusing at the moment. At this stage I just want a simple background colour for the course part of the menu and different colour for the site administration button.

However... the list groups in the mark-up don't seem to have identifying class names. Am I missing something obvious?

My work-around would be to style each button using a css selector attribute, something like this:

div#nav-drawer .list-group-item[href*='moodle/grade/report/index.php']{

background: #099;
color: #fff;
}

This doesn't feel very efficient though. I'm hoping a unique class name for each list-group will follow later.

Thanks for any help,

Mike

 

 

Average of ratings: -