Archived topic
Can I edit a Category Page?
5 replies · Started by alw on January 11, 2015
I want to be able to change the headline on a Category Page and add some additional text + style. I also want to remove the right sidebar. I am using a child theme and added an edited version of single.php, removing the "do_action('generate_sidebars');" line, but the right sidebar is still there.
Hi,
You can change the name of the category and add a description by going to "Posts > Categories" in your Dashboard.
As for the sidebar, category pages use the same setting as the blog, set in "Appearance > Customize > Layout".
Hope this helps :)
How can I change the style of the Category Name and Description? In regular pages, I can disable the Headline and add my own styled heading. I would like to do the same with the Category pages -- and also add a Featured Image for each Category.
Hmm, you could do something like this:
Hide the current title and description:
.category .page-header {
display: none;
}
Then use GP Hooks and target specific category pages to add a header image and a custom headline: http://generatepress.com/forums/topic/gp-hooks-2/#post-58676
Hope this helps :)
That will do it -- many thanks, Tom
You're welcome :)