Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] How to display category menu on one page only? (http://forum.bytesforall.com/showthread.php?t=13094)

talbin Mar 2, 2011 01:34 PM

[SOLVED] How to display category menu on one page only?
 
I am working on a site that will have one menu (ATA's Menu2) on the Home page that will not appear on any other page.

So far the only solution I can find is to put .page-id-XX #menu2 {display: none;} into my CSS Inserts, and do this for every single page (except the home page). But there are about 40 pages!

Is there a more elegant way to handle this?

ATA 3.6.4, WP 3.1

Thanks!

juggledad Mar 2, 2011 06:47 PM

do the reverse
HTML Code:

#menu2 {display: none;}
body.home #menu2 {display: block;}


talbin Mar 3, 2011 07:12 AM

Thanks, JD! I think I looked at that problem for too long, and I needed someone else to point out the obvious solution. :)


All times are GMT -6. The time now is 02:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.