Home page is displaying the name "Home" on the page

Permalink
My home page suddenly is now displaying the title of the page "Home". I know concrete5 is suppose to, by default, not display the word "Home" on the home page because it's redundant but in my case, it does. How can I hide this?
http://www.ushydrotech.com/
Please help. Thank you

View Replies:
StefSmeers replied on at Permalink Reply
StefSmeers
Try to get rid of it by just editing the code in your page template.
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Add the 'Exclude From Nav' attribute to the page and it won't show up in the Autonav.
StefSmeers replied on at Permalink Reply
StefSmeers
There isn't a problem with the navigation I think?
The problem is the word "Home" located in the content op the page.
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Ah, you're right.
mrimpatient replied on at Permalink Reply
Pardon my naivete, but I'm unfamiliar with editing the code in my page template. How would I go about doing that?
Adreco replied on at Permalink Reply
Adreco
With your theme and C5 version, I'm betting you'll have better luck just adding some custom CSS from the dashboard. If memory serves me right...
Go to Dashboard > Pages & Themes > Themes > Slate and then select the Customize option.
You'll see a button to add CSS.
Copy and paste the following:
#page-meta h1 {
display: none;
}


Save and be sure to clear both your site and browser cache when done.

Let us know if this helps out :)

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting................
Pluto replied on at Permalink Reply
Pluto
Just login as admin go to dashboard Theme and template section check which theme you are using.Now when you are sure which theme you are using go to your site root/concrete/themes/your theme folder/elements/header.php
and put this code after <?php Loader::element('header_required', array('pageTitle' => $pageTitle));?> (For version 5.7)<?php Loader::element('header_required'); ?> (For version 5.6). Clear cache and then check.

<?php
$p = Page::getCurrentPage();
$pageId = $p->cID;
if(is_object($p) && $p instanceof Page && !$p->isError() && $p->getCollectionID() == HOME_CID){
?>
<style type="text/css">
#page-meta h1{
display: none !important;
}
</style>
<?php
}
?>
weyboat replied on at Permalink Reply
weyboat
On line 332 of your main.css file you have this
#page-meta h1 {
   margin:0;
}

Change it to this
#page-meta h1 {
   margin:0;
   display:none
}
Pluto replied on at Permalink Reply
Pluto
Hello @weyboat
The css change method will work. but this will hide the page title from all pages. but @mrimpatient wnats to hide the page title only from home page.
mrimpatient replied on at Permalink Reply
Thanks everyone for your advice. Pluto is right though, it hid every page title when I only want to hid the Home page title. Any other thoughts? Can I just modify the css code that Adreco provided to just hid the home page?
StefSmeers replied on at Permalink Reply
StefSmeers
Okay, what you should do:
Edit the template so the class of the <h1> tag is the same as the value between the <h1>-tags.
So the HTML should look like this:
<h1 class="Home">Home</h1>
// For the other pages the HTML will become like this since it is automatically generated:
<h1 class="Products">Products</h1>
<h1 class="About">About</h1>

Now add this to your css file:
h1.Home {
   display: none;
}

When this is all done only the h1-tag on the hompage should be hidden and on the other pages it will still be there.

If you have any questions about this or about anything else, feel free to ask.

- Stef
Pluto replied on at Permalink Reply
Pluto
Have you tried the method whoch i told above?