Hi Paul -
view source on my page you can then just click the link
Oh I never knew that!! I added it but hamburger is still not working. Chrome reports 2 problems which are not important are they?
Uncaught ReferenceError: False is not defined … localhost/:233
Failed to load resource: the server responded with a status of 404 (Not Found) … http://localhost/favicon.ico
Capital F
well that’s illogical – true is in lowercase. But it works now!
just have the superfish at the top of the css file
I tried that but it’s still over-ridden by the other css. I placed it directly under resets and before BODY but it’s displaying the “a link” styles under Body. So I added !important to .sf-menu a’s color & text-decoration and it works now. My goal is to reduce the number of calls to the server that’s why I want it in style.css.
You can center the menu if you remove the float
Ah goodie, that also liberates #menu from #container. Oh I just realized if I add clear:both to #container, that releases a floating #menu from it! I spent light years pouring over the html yesterday trying to see how it was trapped, instead of looking at the css!
Centering the menu centers all the children too. I tried adding “text-align:left!important;” to .sf-menu ul ul and to .sf-menu ul ul li but neither works. How can I left-align the children?
Now that I’ve unfloated #menu, is it okay that li still floats? – .sf-menu > li {float: left;}. You’ll recall Ryan said earlier on
“.sf-menu” needs display:table and to not be floated. Then, “.sf-menu li” needs display:table-cell; and you need to unfloat that.
The main menu only works at 1024 (i.e. from tablet landscape + wider) so I may as well unfloat & center it. Even at tablet portrait (768x1024) if it’s floating (& wrapping) the children under the last parent on right are cut short so you can’t read the full link.
I’ve set the @media to 900/899 now. I hope that’s not too unusual…
thanks! Val – http://dev.greensmoothie.com/