Single Post Subheader Image Override
There is an option to override the header background image within a post.I'm looking for a way to do this with the subheader background image. I would like to be able to set it per blog category, but if not I am happy to set it within each post if possible.
Is this possible?
Comments
we do not have an option to overwrite subheader background for each post but you can use custom css to overwrite subheader background for all posts:
.category-6 #Subheader, .postid-187 #Subheader, .postid-155 #Subheader, .postid-146 #Subheader, .postid-130 #Subheader, .postid-178 #Subheader {background-image: url(http://example.com/wp-content/uploads/2017/02/services.jpg);}
/* Define custom Subheader for Portfolio section and posts */
.category-7 #Subheader, .postid-195 #Subheader, .postid-198 #Subheader, .postid-231 #Subheader, .postid-229 #Subheader, .postid-225 #Subheader {
background-image: url(http://example.com/wp-content/uploads/2017/02/portfolio.jpg);}
/* Define custom Subheader for bbPress forum section */
.bbpress #Subheader {background-image: url(http://example.com/wp-content/uploads/2017/02/forum.jpg);}