Community Forums › Forums › Archived Forums › General Discussion › remove page title from home page
Tagged: centric pro, title toggle
- This topic has 9 replies, 3 voices, and was last updated 8 years, 11 months ago by
Robert.
-
AuthorPosts
-
June 20, 2017 at 1:27 pm #207998
patio812
MemberI am using genesis title toggle so that I can remove the word "home" from the home page but keep the page title on other pages. I checked the title toggle box on the home page for Hide Title and h1 Site Title but it is still displaying?
Screen shot
http://681.3b0.myftpupload.com
https://screencast.com/t/RhogzqfAPa7JJune 21, 2017 at 11:40 pm #208053Brad Dalton
ParticipantYou can create a front-page.php file without title.
Another method is to copy and rename the page_landing.php file to front-page.php and remove the template header from the file.
June 22, 2017 at 12:28 am #208054Robert
Memberjust hide it with css. Get the page or post id and add this code to whatever element you want to hide. Substitute "123" with your postid.
.postid-123 #elementyouwanttohide{ display: none; }so it might look something like
.postid-1762 .entry-title { display: none; }You can usually get the post id by clicking edit on the page. When you're in the editor look at the url. It should have the post id in it. There are other ways you can google, if you don't see it there.
What's the link to your site?
Just realized you posted the link to your site.
This css should take care of it:
.page-id-22 .entry-title { display:none; }
-Robert McMillin
RobertMcMillin.comJune 22, 2017 at 12:39 am #208057Robert
MemberIf it is for the nav bar I would just create a custom css class
.page-id-22 .somecustomclass { display: none; }Then in the navigation menu to edit the nav items enter the custom css class:
To enable the CSS classes look to the top right of the page you will see a box that is labeled “Screen Options”. Click "Screen Options" and make sure that “CSS Classes” is checked. Then, on the items that you want to style, you can add your CSS classes.as an example:

Could do it without the page id as well.
-Robert McMillin
RobertMcMillin.comJune 22, 2017 at 11:46 am #208100patio812
MemberThanks Robert! Your solution was an easy fix!
.page-id-22 .entry-title {
display:none;}
June 22, 2017 at 12:07 pm #208105patio812
MemberBummer, just noticed that using this code: `.page-id-22 .entry-title {
display:none;
}` also removed the "Chiropractor Care" "Massage Therapy" and "Laser Therapy" from Home 2 Featured Page widgets in the colored box sections below the image of the lady on the home page.I want to remove the "HOME" from below the lady but RETAIN the "Chiropractor Care" "Massage Therapy" and "Laser Therapy" from Home 2 Featured Page widgets.
Screen shot
June 22, 2017 at 12:08 pm #208108patio812
Memberhttp://681.3b0.myftpupload.com/June 22, 2017 at 12:50 pm #208109Robert
MemberSure, just add this CSS code:
display: block;to this section in your CSS:
.home-widgets .featuredpage .entry-title { font-size: 48px; font-weight: 300; line-height: 1.1; display: block; }It is line 811'ish in your CSS stylesheet
-Robert McMillin
RobertMcMillin.comJune 22, 2017 at 12:55 pm #208111patio812
MemberGold star for you for today! Thanks!
June 22, 2017 at 12:59 pm #208113Robert
Member -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.