Lodestar – Remove Entry Title From Certain Pages
-
I want to delete the entry title from certain pages on our gaming community website. I found a way to force it globally by entering the following into CSS customization:
.entry-title { display: none; }Is there a way that I can limit this to certain pages or posts?
The blog I need help with is: (visible only to logged in users)
-
The custom CSS code you are using hides all posts’ and pages’ titles across your website. Since you only want to target specific posts and pages you need to identify the post or the page ID within the CSS code. Each post and page in your website has a unique ID. For example the ID of this post
https://royaldestiny.net/2018/05/07/finish-them/ is 2384. In order to hide this specific post’s title you need to form you CSS code as follow:.postid-2384 .entry-title { display: none; }There are two ways to find the post/page ID. First way is to do it through the Dashboard. Select a post or page like you were to edit it and you will see the ID number at the end of the URL like demonstrated in the picture below:

The second way is to do it through inspecting the HTML source code of the post or the page you want to hide its title. For example this post :
Right click anywhere in the page and select Inspect (I am using Chrome. “Inspect Element” if you are using FireFox). From the <body> tag you will see the post ID. Like demonstrated in the picture below:

To hide the title of this post, the following CSS code will do the trick.
.postid-2336 .entry-title { display: none; }You can apply same on other posts and pages.
I hope this helps. Please let me know if there is anything else you need help with.
- The topic ‘Lodestar – Remove Entry Title From Certain Pages’ is closed to new replies.