[Resolved] Underline only links on Blog Posts (Not Buttons Not Woocomerce etc )

Home Forums Support Underline only links on Blog Posts (Not Buttons Not Woocomerce etc )

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1114294
    FunkyCss

    Hi , i have checked all the previous post about underline for links ( which i believe is a must for accessibility )

    But all i have tried will underline all site even buttons on woocomerce products which i dont want !

    How can i make only links to be underlined if this is impossible how can i do it for blog post only , this will help

    #1114297
    David
    Staff
    Customer Support

    Hi there,

    we can be very specific to target the single post and only links within its content like so:

    .single-post .entry-content a {
        text-decoration: underline;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.