Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Hide %Pages Menu On Home Page


  #1  
Old Dec 4, 2011, 04:36 PM
bswb97
 
158 posts · Aug 2010
[SOLVED] Hide %Pages Menu On Home Page

I have a static home page and I'm looking to hide the menu on that particular page. I would have thought something like this came up in the forum already but I couldn't find it.

I created a half-ass version using conditional PHP in the header area for %pages. However, that doesn't pull the proper CSS for the menu and leaves them as just text links.

The workaround for this is hard-coding a menu using a div and making it conditional PHP. If there's an easier solution, it'd be a good trick to add to the toolkit. Thoughts?
  #2  
Old Dec 4, 2011, 05:34 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I would think just using the page id in combination with the menu id and display:none should do the trick.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Dec 4, 2011, 05:53 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
body.home #menu1 {display:none;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Dec 4, 2011, 07:13 PM
bswb97
 
158 posts · Aug 2010
That worked! I always overthink these things, appreciate the nudge.

Bookmarks

Tags
hide menu on home page, home page menu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Menu 1 in a page mirco65 Header configuration & styling 3 Apr 12, 2011 06:21 AM
[SOLVED] HELP: how to hide entries from the home page SC801 Center area post/pages 3 Oct 19, 2010 12:35 PM
[SOLVED] menu background image only shows up on home page, missing on pages/post Athena account2 Page & Category Menu Bars 5 Mar 4, 2010 03:53 AM
How do I hide Horizontal Decoration Bar, Pages Menu, Categories Menu on certain pages sixfirs Atahualpa 3 Wordpress theme 0 Nov 19, 2009 05:13 AM
[SOLVED] How to hide page titles on the home page Tim F Post-Kicker, -Byline & -Footer 1 Aug 22, 2009 04:18 AM


All times are GMT -6. The time now is 09:58 AM.


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