Custom page title for category post
-
How can I put a custom page title image for a category post?
At the moment i have only a background color (ex ttps://www.bindienzopienza.com/category/ricette/)
Thx
Khyado
Hello,
You can put the page title image for a category post page and blog page globally in the site from Edit the Blog Page >> Page Title Options >> Upload the image for Page Title. This will show the image on every category page title.
Screenshot: http://prnt.sc/p871av
Result: On blog page: http://prnt.sc/p871ov
On Category Post: http://prnt.sc/p872bw
Best Regards.
Hi Aizaz, i have two category of post, “Recipes” and “Tips & Tricks”, and i want a custom image for each category. It’s that possible?
Khyado
Hello,
Please use the below custom CSS code and paste it to Theme Setting >> CUSTOM CSS >> Global Custom CSS:
To add the image in Recipe category please use this custom CSS:
.category-ricette .page-title-default {
background-image: url(https://www.bindienzopienza.com/wp-content/uploads/2019/02/800px-Cacio_e_pepe.jpg);
}
To add the image in Tips & Tricks category please use this custom CSS:
.category-consigli .page-title-default {
background-image: url(https://www.bindienzopienza.com/wp-content/uploads/2019/02/800px-Cacio_e_pepe.jpg);
}
Note: Please change the image url in above both custom CSS and add the image URL which you want to use on specific categories.
Best Regards.