Hiding Sitewide Header Site Title Area On Just One Page
Permalink
Hello,
I am using the Palette theme for my website. There is a sitewide header area that has a navbar in the center and a place for a site title or logo on the left , and an extra site wide area on the right.
I want to place an image of my site name in the left area and have it appear on every page except for the homepage, because I have that same image displayed larger and I don't want it duplicated here. It looks fine on all of the other pages.
I am new to Concrete5 and fairly deficient in my knowledge of CSS but with some detailed instruction I should be follow the steps.
I found another thread with a similar request, in that thread they gave this code to add to the view.php page
<?php if ($c->getCollectionPath() == '/mobile'): ?>
<!-- header_remove -->
<?php else: ?>
<!-- header_view -->
<?php endif; ?>
I went to the palette theme view.php page and pasted
<?php if ($c->getCollectionPath() == '/index.php'): ?>
<!-- header_remove -->
<?php else: ?>
<!-- header_view -->
<?php endif; ?>
This did not effect the header at all, and honestly I was afraid it was going to block the navbar portion of the header also, and I definitely don't want that to be blocked.
my site ishttp://www.creatinghappiness.net - Please don't mind all of the placeholder content ;-)
Thank you for any help with this!
I am using the Palette theme for my website. There is a sitewide header area that has a navbar in the center and a place for a site title or logo on the left , and an extra site wide area on the right.
I want to place an image of my site name in the left area and have it appear on every page except for the homepage, because I have that same image displayed larger and I don't want it duplicated here. It looks fine on all of the other pages.
I am new to Concrete5 and fairly deficient in my knowledge of CSS but with some detailed instruction I should be follow the steps.
I found another thread with a similar request, in that thread they gave this code to add to the view.php page
<?php if ($c->getCollectionPath() == '/mobile'): ?>
<!-- header_remove -->
<?php else: ?>
<!-- header_view -->
<?php endif; ?>
I went to the palette theme view.php page and pasted
<?php if ($c->getCollectionPath() == '/index.php'): ?>
<!-- header_remove -->
<?php else: ?>
<!-- header_view -->
<?php endif; ?>
This did not effect the header at all, and honestly I was afraid it was going to block the navbar portion of the header also, and I definitely don't want that to be blocked.
my site ishttp://www.creatinghappiness.net - Please don't mind all of the placeholder content ;-)
Thank you for any help with this!
At the moment you have this
Change it to this