- This topic has 11 replies, 2 voices, and was last updated 6 years ago by Leo.
-
AuthorPosts
-
April 16, 2018 at 3:07 am #551429Amit Nair
Hello,
I have many pages like BLOG, ABOUT US etc.
By default, I am seeing Blog title on the blog page, ABOUT US title on the about us page and so on.
I tried many ways but unable to remove it. Please help.
April 16, 2018 at 8:48 am #551756LeoStaffCustomer SupportHi there,
Do you want to remove the page titles globally?
If so try this filter:
https://docs.generatepress.com/article/generate_show_title/If you only want to remove them on some pages then the disable element metabox should work:
https://docs.generatepress.com/article/disable-elements-overview/Let me know.
April 16, 2018 at 9:49 am #551818Amit NairHi Leo,
Thanks for the response.
I am new to WordPress. Please let me know where to update this code. Tried adding this in custom CSS but doesnt work.
April 16, 2018 at 11:22 am #551910LeoStaffCustomer SupportOne of these methods: https://docs.generatepress.com/article/adding-php/
Code snippets is the easiest if you aren’t using a child theme.
April 16, 2018 at 11:43 pm #552367Amit NairI installed the ‘Code snippets’ plugin and added the code to remove titles globally. I used the ‘Run only once’ option in Code Snippets assuming the function has to be created only once.
But it is not working. I still see the titles. E.g. you could check the BLOG and ABOUT US page.
April 17, 2018 at 8:46 am #552833LeoStaffCustomer SupportCan you try the Run Snippet everywhere option?
April 17, 2018 at 10:26 pm #553384Amit NairThanks Leo. It works for the ‘About Us’ page.
The main menu has items like Home (page), About Us (page) and Blog (category).
While it works for pages, since blog is a category, I still see the title of that. How can I remove that?
April 18, 2018 at 8:32 am #553867LeoStaffCustomer SupportNot sure what you mean?
There shouldn’t be a page title showing for blog page by default.
Your site link is no longer working for me.
Can you double check so I can have a look?
April 18, 2018 at 10:33 am #554007Amit NairHi Leo,
I changed my domain so the link was not working. I have placed a new link for you. Please check.
I am actually using a blog category under the menu option.
Please check my Menu structure and the home page to understand this.
April 18, 2018 at 8:22 pm #554280LeoStaffCustomer SupportApril 18, 2018 at 10:58 pm #554364Amit NairHi Leo,
Thanks for this.
It did remove the title. But I am getting a white background that remains and it looks very odd.
The filter for removing titles from page worked very well as it removed the title and the white background behind the title.
I want to do the same for the Blog category. Kindly help. Thanks!
Regards,
April 19, 2018 at 9:02 am #554901LeoStaffCustomer SupportSorry.
Try this CSS instead:
.category header.page-header { display: none; }
Let me know.
-
AuthorPosts
- You must be logged in to reply to this topic.