-
Author
-
April 24, 2018 at 13:56 #195900GrantParticipant
Hi Guys,
How can I remove the ‘Page Title’ from Pages only – but not Posts?
The navigation I have on the site is pretty intuitive. I’ve already removed the breadcrumb. There is also just no need to display the page title. It takes up unnecessary visual space on mobiles.
I know I can go from page to page and edit the ‘Title’ settings on every page but that does not remove the page titles for pages like Archives, Catagoriies, Tags, etc.
I’m sure there’s probably a bit of php code there somewhere in the Theme which can just be removed.
Cheers,
Grant
April 25, 2018 at 03:21 #195966LauraModeratorHello, please add this to style.css of child theme 🙂
COPY CODE.page .page-title { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 25, 2018 at 12:25 #195992GrantParticipantHi Laura,
Thanks for your reply. However, that option won’t work. Using it removes BOTH the tag and post headings. Notice in the attached files that the CSS path names are effectively the same.
The only way I can see that it will be possible to remove the ‘Tag Heading’ but without touching the ‘Post Heading’ is to remove the relevant php code from the appropriate file and place that file in the Child theme location. Unless you can think of a different workaround?
Do you know which file generates the Tag and Catagory headings?
Cheers,
Grant
Attachments:
You must be logged in to view attached files.April 25, 2018 at 18:38 #196036LauraModeratorHello, yes i can find a workaround with css, can you share access so i can test it? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 26, 2018 at 14:54 #196136LauraModeratorHello, here is the idea, let me know if it works
COPY CODE.category h1.page-title { display: block !important; } .tag h1.page-title { display: block !important; } h1.page-title { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 26, 2018 at 17:25 #196161GrantParticipantHi Laura,
Thanks so much for your efforts.
The code above was not quite what I was after however it gave me the necessary info that I needed to tweak it to achieve the result. So THANK YOU!
I wanted to remove the category and tag titles ONLY while leaving the Post Title. A little tweak of the above and that worked!
THANKS,
Grant
April 26, 2018 at 19:55 #196184LauraModeratorGlad you could resolve it 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.