[Support request] Underline links but not heading with CSS

Home Forums Support Underline links but not heading with CSS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1393633
    Kaspof

    Hello,

    I am currently trying to underline links with a color line inside paragraph with this :

    .entry-content a {
        border-bottom: 2px solid #84B93A ;
    }

    It does work except that on the homepage for example there are some heading (H3) that are also links to posts. Is it possible to exclude them from underline with CSS ?

    Thanks for your help !

    #1394062
    David
    Staff
    Customer Support

    Hi there,

    You can try this CSS Selector:

    .entry-content p a {

    It will apply only to links within a Paragraph

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.