Twenty Fourteen: Category Archive Customization
-
Hello!
Thanks to the help of the good people of this forum I was able to customize the archive header to remove the text and add an image/header instead. Now that was all fine well and good when I only used one archive category only (the “blog” category) but now I find myself needing a second category (the “devotional” category) with… a different header image. Is that even possible?
If not, is there any other way to generate a page that would list the newest entry of a category, as links or as entries just like an archive page?
Thank you!
The blog I need help with is: (visible only to logged in users)
-
You can target your devotional category page with the following code, just add in the URL to your desired image in your media library and set the dimensions and positioning like you did with the previous code.
body.category-devotional .archive-header { background-image: url('NEW_IMAGE_URL'); }You could also look in to the display posts shortcode to create a new page and include posts from a specific category.
-
-
@marieevepreaux you’ve done great work with this site. It’s been fun to watch/help with your progress in the forums :)
-
@lizthefair, thank you very much! You helped me so often, I feel like you should get as much credit as I will!
-
Happy users and pretty websites are credit enough for me, but I really appreciate the sentiment :)
- The topic ‘Twenty Fourteen: Category Archive Customization’ is closed to new replies.