CSS for hiding site navigation on the Front Page
-
There are different ways for doing this but I found using the CSS file easiest. I use denaani for smoke testing different ways of doing things so sure I could have used a function, coded the header for it or even coded the front page template. I settled on this though. If you don’t use it, use developer mode in your browser (F12 or Firebug in Firefox) to get most IDs and classes you might want to hide or alter.
.page-id-2137 #site-navigation { display: none; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CSS for hiding site navigation on the Front Page’ is closed to new replies.