Site logo

[Resolved] Anchor Links underline

Home Forums Support [Resolved] Anchor Links underline

Home Forums Support Anchor Links underline

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1469960
    Chitika

    Hello.
    I have seen on some sites, that links in a post are underlined with a color.
    Instead of the anchor text being highlighted.
    A typical example is this .

    https://ibb.co/sw82QRK

    How can I implement this in GP.

    #1470320
    David
    Staff
    Customer Support

    Hi there,

    it requires a little CSS – if you want to use a line color different to the text then add this CSS:

    .entry-content a {
        position: relative;
    }
    .entry-content a:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background-color: red;
    }

    Change the background-color: red; to set a different color rule

    #1472374
    Chitika

    @David: Thanks it worked and is beautiful.

    #1472505
    David
    Staff
    Customer Support

    You’re welcome

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