This code snippet enables you to add a span class to the Genesis Featured Posts widget title. You can also add the span conditionally so its only added on specific pages or conditionals.
In this case, its only added on the front page.
Here’s the default HTML output showing the h3 tag :
You can see the span tag added in the following screenshot :
You could also wrap the widget title in span tags like this without removing or modifying the default HTML tags :
Register or login to access the code :
Was This Tutorial Helpful?