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 »

How to exclude category menu bar from certain pages?


  #1  
Old Feb 21, 2010, 05:29 PM
suzannlarsen
 
1 posts · Feb 2010
Is there a way to exclude the entire category menu bar from certain pages? Either by a list of page numbers or by types of pages -- similar to how we can configure left/right sidebars to only show up on certain pages?

I don't want the category menu bar to appear on my "Page" pages, Home page or Front page -- only on my more blog styled pages.

Thanks.
  #2  
Old Feb 22, 2010, 06:39 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can do this thru CSS Inserts. View each page you don't eant teh catagory menu on, and then look at the source of the page. Locate the line that starts '<body' it will look something like this
HTML Code:
<body class="page page-id-5 logged-in">
what you need is the 'page-id-5'. With this you can construct your CSS selector and rule. For example:
HTML Code:
.page-id-5 #menu2 {display: none;}
if you have several pages you can lump the selectors together, for example
HTML Code:
.page-id-5 #menu2,
.page-id-7 #menu2,
.page-id-25 #menu2 {
display: none;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 2, 2010, 12:44 PM
taniab
 
7 posts · Jul 2010
Hi, I am trying to do something very similar but cannot quite figure it out from this info.

I'm using WP 2.9.2 and Atahualpa 3.4.9 (wic has been great to work with so far).

What I want is that the category bar only shows on the blog page (page-id-6) and on the other 3 pages the coloured bar is there but without the navigation words. I have tried a few different things but I'm not a pro with coding so not sure I'm putting the right thing in the right place.

I have tried adding the following code to get rid of the 2nd nav bar on these pages but it doesnt seem to work:
.page-id-29 #menu2,
.page-id-74 #menu2,
.page-id-21 #menu2 {display: none;}

Any help would be hugely appreciated! My site is in maintenance mode but if it would help I can disable it briefly. Thanks.

Bookmarks

Tags
category, exclude, menu bar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing category order in category menu bar, not in sidebar cat. list paulae Page & Category Menu Bars 13 Mar 30, 2011 05:36 PM
[SOLVED] Category / Archive display problem with category menu bar madfab685 Page & Category Menu Bars 4 Jan 2, 2010 04:12 AM
Page menu: How to exclude ALL pages but a few? tagesk Page & Category Menu Bars 1 Jan 1, 2010 08:35 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
How to exclude pages from menu when they have names sparksmex Page & Category Menu Bars 6 Sep 28, 2009 03:57 AM


All times are GMT -6. The time now is 07:25 AM.


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