Jump to content
Sign in to follow this  
alisamski

Hiding Primary Nav Bar on secondary pages

Recommended Posts

alisamski

Frameworks Is there a way to have the primary nav bar on the home page only? I want to style the inside pages with the nav down the left hand side.

Share this post


Link to post
Share on other sites
Jenny
Since you're styling, it sounds like you know CSS. Just add .home to the front of the CSS for the primary nav (which is probably .main-nav).

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
Simon
Or just go the page meta and select hide nav ;)

Share this post


Link to post
Share on other sites
alisamski
You are giving me too much credit... It shows up... I can hide it on the home page by this... .home .main-nav{display: none;} but cannot find the proper verbage to hide on the balance of pages. The global settings has it in the pages... Im drawing a blank here.. and yes... I do want to show it on home page only.

Share this post


Link to post
Share on other sites
alisamski
@Prosser Yes, that works...however, it would be less work to put in the css for all pages... then to click on the meta for each page I create? no?

Share this post


Link to post
Share on other sites
Rob
If you put in CSS, and there's some page you need it to show on in future, then you'll have to re-write your code. I think pross is suggesting that since it's only a matter of checking a box on each post or page you create, then you're better off that way. If your site already has a lot of content, then it may be more advantageous to do it the CSS way. Let us know which is ultimately best for you.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alisamski
The site is just being created... so no content yet... OK... this is what I did... in Frameworks... there is an option to set the nav in the header... and an option to hide by default... so I did that... and just on the home page... I checkboxed to show nav on that page... This way it's only one page to check box instead of all pages created. Didn't realize we can do that... (still figuring out the new settings!)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×