Show a page without title
-
Hello,
Can I display a page without its title?
Tnx
-
Hi Net_Rider, you can with a bit of css. Do you have a link to your site?
Tnx
So what css should I add and where?
btw, I don’t want that all of the pages will appear without their titels, only some of the pages.Yes you can specify the page(s) or post within the css. If you give me the link to the site and tell me which pages I can give you the code.
Well, the site is in Hebrew, http://rotem.info/
No problem, the code is still in English 🙂 Very nice layout and site even if I can’t read it. Which titles do you want to remove?
If you don’t have a child theme where you can add css changes you can get a custom css plugin and then apply these changes there. This way you will not lose your changes when the theme is updated. In your custom css plugin add these styles:
.page-id-695 .post-title { display: none; } .page-id-695 .post-inner p.post-meta { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; } .page-id-683 .post-title { display: none; } .page-id-683 .post-inner p.post-meta { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }You will notice I used the page ID to specify the page, otherwise none of the titles will show. I also added styling for .post-inner p.post-meta otherwise the border still shows with some spacing. I only did the first two pages, you can try the last one. I got the ID by right click on the page and going to inspect element. The ID is on the body tag. Copy my code and add the other page ID’s to do this for more pages.
Here is a screenshot of what it looks like. http://www.screencast.com/t/ea5s9150r3w1
Let me know if this works for you.Kind Regards
Ernest Close
Works perfect!
Tnx a lot.Works perfect!
Tnx a lot.Always a pleasure.
The topic ‘Show a page without title’ is closed to new replies.