Is there a way to style the menu item for the current page in autonav?

Permalink
Since autonav does the honors, I can't use an ID to render the li with special styling. Does Concrete have a way?

Thanks!

Mark

markcmyers
 
PaleBunny replied on at Permalink Reply
PaleBunny
i spent several hours today in an attempt to tweak a template into working with c5.

i added that little line of php in the nav area, but when i visitied the site it had completely changed into a long, vertical unordered list, rather than an inline list that i had originally intended it to be.

i even tried editing the css to be 'inline' but didnt' get anywhere, and had to give up after a few hours :(

i would likewise like to find a way to edit the li style, because c5 uses a 'nav-header' class that i can't seem to manipulate efficiently due to my skill level in css...
Remo replied on at Permalink Reply
Remo
I think this is the most difficult part about building a page with concrete5.

Personally I like the ul, li structure since this makes it possible for disabled people to navigate through the page.

But I agree - you need to understand a few css things in order to get a working and good looking navigation.

You can try to copy "view.php (/concrete/blocks/autonav) to (/blocks/autonav/templates/mytemplate.php) to build your own navigation. Php skills needed of course!

(you have to change the template afterwards! click on autonav in edit mode)
explosiverain replied on at Permalink Reply
explosiverain
If you're trying to match the design when used in the HeaderNav area, have you tried making use of the "Set Custom Template" option after you add the "AutoNav" block to the header?

I found that to fix my problems...
tallacman replied on at Permalink Reply
tallacman
Im sure that will come in handy shortly.
Remo replied on at Permalink Reply
Remo
writing a custom template always works but it's sometimes quite a lot of work to do.

compared to other cms I know, this is too much work in fact.

I'm working on a list with features that I think autonav should have but it's far from being finished.
explosiverain replied on at Permalink Reply
explosiverain
i didn't have to write anything special, it was already there from the base install.