[Support request] Underline of text containing links in blogposts

Home Forums Support [Support request] Underline of text containing links in blogposts

Home Forums Support Underline of text containing links in blogposts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #616626
    Johan

    When I am writing my blogposts, I often add links to other sites and news articles. How can i make the text with the links underlined for better readability?

    GP Premium 1.6.2
    #616645
    David
    Staff
    Customer Support

    Hi there, this CSS should do the trick:

    .entry-content a,
    .entry-content a:visited,
    .entry-content a:hover {
        text-decoration: underline;
    }
    #616723
    Johan

    Error message:
    (Using this plugin: https://wordpress.org/plugins/code-snippets/)

    “Don’t Panic

    The code snippet you are trying to save produced a fatal error on line 1:
    syntax error, unexpected ‘.’, expecting end of file

    The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.

    Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.”

    #616725
    David
    Staff
    Customer Support

    The code is CSS 🙂 Here explains how to add, simplest way is Additional CSS in the Customiser

    https://docs.generatepress.com/article/adding-css/

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