Totally Zenned
- Join Date:
- Jan 2007
- Location:
- Los Angeles, California, United States
- Posts:
- 10,011
- Plugin Contributions:
- 3
Hiding logo and navMain on homepage
I've poured through this forum, and while I haven't found EXACTLY what I was looking for, I did find enough information to formulate my question.
1st a link: http://testsite.overthehillweb.com/zentest1/
I want to hide the logo and the navMain from the home page only. I used a stylesheet for the index page to do this, but the issue as you can guess is that I discovered that this not only affects the "home" page, but all of the other index pages as well (category pages etc..) http://testsite.overthehillweb.com/zentest1/index.php?main_page=index&cPath=1 So that idea is out the window..
So I'm back to where I started with hiding this on the "tpl_header.php". The thing is I tried hiding the entire header, but then my top inside rounded corners disappear.. I could live with this, but my cllient would rather not..
So can I simply wrap the logoWrapper and navMain divs with this:
<?php if (!$this_is_home_page) { >?
your HTML button code;
<?php } ?>
I'm at work and can't try this out right now, so I thought I'd pose the question to see if I'm on the right track before I get home tonight.:cool: Hope one of the experts can chime in..