Adding a "staff banner" to author posts?
-
Problem: I want to add the div “.banner” to all comment posts by the author of the article. But when I use .bypostauthor to target the author posts, all nested replies to the author comment also gets the .banner div.
I don’t really understand how I can target only the .bypostauthor without any nested replies being targeted.
How would you guys solve this?
Where would you put the <div class=”banner”></div> line?
How would you target it with CSS to avoid nested replies to also get the div?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding a "staff banner" to author posts?’ is closed to new replies.