In the members-only forum, a user asked:
I added a span to widget titles so that the span can sit on top of a background (similar to the old Metro theme). The archive titles need the same styling, but I can’t see a way to do it with CSS without also adding a span...Actually, it would be good to add to archive titles AND page titles.
genesis_post_title_output filter hook can be used to amend titles on singular pages. But since there is no such filter for modifying the titles on archives, we shall use jQuery to wrap titles on archives with our custom span. While it is possible to re-write all the functions defined in genesis/lib/structure/archive.php, I feel it is much simpler to just use JS.
Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.