Home › Forums › WordPress Themes – Premium › Encounters › How can I remove the “Home” title on my home page?
- This topic has 14 replies, 36 voices, and was last updated 9 years, 10 months ago by
Sushil Adhikari.
-
AuthorPosts
-
January 24, 2014 at 10:13 am #14594
Sarah McDowell
MemberI tried using the Remove Widget Titles feature to remove the “Home” word from appearing at the start of my front page content (below the showcase). I don’t want it to say home there because it should be obvious to readers that it is my home page.
Is there any way I can do this?
January 24, 2014 at 6:38 pm #19039Sushil Adhikari
ModeratorThat is actually for widgets only…yours is a page title. You have a couple options:
1. change the “Home” to something else like “Welcome to my site” or something like that, but change the menu item label to “Home” once you do that so the main menu still says “Home”.
2. use css to hide the title by doing something like this:article#post-274 .page-title { display: none; }
The post id 274 will be different for you so you would have to look at your page ID either from the admin or the source code in your page.
January 26, 2014 at 9:21 am #19048Sarah McDowell
MemberI am sorry but I have no idea where to look for this information. Are you referring to editing the style.css file?
What is the post id? Is it just the line number?
When you say admin do you mean the WordPress dashboard?
January 26, 2014 at 6:41 pm #19050Sushil Adhikari
ModeratorCorrect on editing the style.css, but preferably using a CSS Editor plugin or child theme so you don’t lose changes with theme updates.
The post id is found when you look at the source code of a web page. The other method is when you are looking at all your posts in the dashboard (the admin), then mouseover each post name, at the bottom of your browser you will see the link to the post show. In that is a part that says post=123 (number will be different with each post). That is what you would use like the sample css I posted above. So if a post=123, then change the post-274 to post-123.January 26, 2014 at 9:37 pm #19052Sarah McDowell
MemberThanks, I will try to find the post id. I am using a child theme and editing in Notepad ++. Is this OK or should I get the CSS editor plugin? What do you recommend?
January 26, 2014 at 11:19 pm #19053Sushil Adhikari
ModeratorTo make any css changes to the theme, you will need a plugin for that one, but if you are using a child theme, you can use its own style.css file instead (no plugin required).
January 27, 2014 at 12:59 am #19054Sarah McDowell
MemberI’m still utterly lost on this one. How do you see all the posts in the dashboard? Do you mean in the WordPress dashboard? I am not sure where to look for this information.
January 27, 2014 at 1:31 am #19055Sushil Adhikari
ModeratorWhen you are in your dashboard >> Posts >> All Posts, mouseover any of the post titles and you will see the post=number at the very bottom of your browser (if your browser has the status bar active of course. You can also open a post or page and look at the ID number in the permalink url that shows just underneath the title field.
January 27, 2014 at 1:37 am #19056Sarah McDowell
MemberI did that and I don’t have any posts yet except for “Hello World”. What I am looking for is a page title, not post.
Do you mean by using Developer Tools in Chrome?
January 27, 2014 at 1:38 am #19057Sushil Adhikari
Moderatoroh ok…sorry about that. Then instead of going to Posts >> All Posts….go to Pages >> All Pages and then mouseover the one for your front page.
January 27, 2014 at 1:42 am #19058Sushil Adhikari
ModeratorThis might help. Click on that button in the screenshot and a popup will show the link with the ID number of that page.
Attachments:
You must be logged in to view attached files.January 27, 2014 at 7:43 am #19059Sarah McDowell
MemberThanks! I found out that the page ID is 9. So now what do I do with this information? Where in the style.css file do I add your changes? Does it matter where I would add the change to the file?
January 27, 2014 at 8:29 am #19060Sushil Adhikari
ModeratorYou would then add this to your child theme’s style.css
article#post-9 .page-title { display: none; }
January 27, 2014 at 11:08 pm #19066Sarah McDowell
MemberThank you Andre! What I meant was would it make a difference where in the style.css file I added those lines. I thought that maybe the placement of those lines within the style.css file would matter.
I just did what you said above and it worked perfectly. This issue is solved, thanks so much!
January 27, 2014 at 11:15 pm #14595Sushil Adhikari
ModeratorNot really… if you already added css, just add the above css below the other that you have.
-
AuthorPosts
- You must be logged in to reply to this topic.