Home › Forums › Support › How to underline headlines only in posts This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by Elvin. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 7, 2022 at 1:55 am #2145055 David Hi, i would like to underline my h2 and h3 headline with a 6px high line. But only in the blogposts. I tried .entry-content h2 { border-bottom: 1px solid #7EC8D1; } but then the underline are on every page. Thank you, David March 7, 2022 at 2:30 am #2145101 ElvinStaff Customer Support Hi David, To clarify: By blog post, did you mean the headline for the actual blogs on its own single post page? If that’s the case, you can try adding body.single to the selector. Example: body.single .entry-content h2, body.single .entry-content h3 { border-bottom: 1px solid #7EC8D1; } March 12, 2022 at 11:49 am #2152295 David Thank you Elvin, that worked very well. March 13, 2022 at 5:07 pm #2153375 ElvinStaff Customer Support No problem. 😀 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In