My footer nav has the same styling as the nav in the sidebar. I can make a new nav style (calling it footer-nav) in the default.css file, but not sure how to call it from the footer.php file.
The footer.php is as follows:
Also, there is talk about going into blocks->autonav->css
When I enter autonav, the only folder there is sooperfish (wich I am not using)
The url to the site (under construction) ishttp://www.anakwaana.com/akatest...
A template usually comprises a php and a css, though the php may well be the same as the regular view.php (or for autonav, Jordanlev's improved view.php)
Jordan's write up:
This links to github source and many forum threads.
In your footer element code, the 'footer_required' would normally be the last thing in the file before the closing /body.
I am figuring it out. Decided for now to just add a menu like this; #footer ul and #footer li
The problem I am having is to style it as a horizontal menu with the subpages showing (like the footer menu on the concrete5.org pages). I see the menu here is styled inside column divs. Do I have to do that, or can it all be done using css? I have been unable to find any css source for this on the internet.
I think C5 has the column divs to make it all line up neatly.
If you look up things like 'menu css' on Google you should get plenty of examples. There are some sites dedicated to pure css menu examples.
From a C5 point of view, use the autonav to generate the nested list structure, then use css in a view template to make it layout as you want. The template I mention above is just the cleanest point to start on that. If you decide column divs makes more sense in your situation, you can also use this, but replace the top level of ul code with div code.
Is there any practical reason why you consider it better to use the view.css file? It seems to me to be easier to style everything in default.css
If you are only working with 1 site with 1 theme, then you could just put your css in whatever file suits you.
If you may want to change your theme later, or use the same block template for another site, then it helps to structure the css between that which is specific to your theme, css which lays out a block, and css specific to a particular block template. There is a large decision grey area between these.
What is the difference? Trying to figure out if I can use the listmatic directly in my footer navigation. The listmatic is as follows:
HTML <div id="navcontainer"> <ul id="navlist"> <li id="active"><a href="#" id="current">Item one</a> <ul id="subnavlist"> <li id="subactive"><a href="#" id="subcurrent">Subitem one</a></li> <li><a href="#">Subitem two</a></li> <li><a href="#">Subitem three</a></li> <li><a href="#">Subitem four</a></li> </ul> </li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> </ul>