Sign in

How do I set it up so that hyperlinks appear underlined in final render of site.

  • This topic has 7 replies, 3 voices, and was last updated 4 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1312
    TinyBatz

    Simple question, but I have no idea how to make it happen.

    How do I set it up so that hyperlinks appear to be visually underlined on the website?

    #1313
    BertBert

    I found it:

    From the Publii menu choose Tools and then “custom css“.

    There you can add this ` `

    `*/underlining links*/
    a:link {
    text-decoration: underline;
    }`

    and save.

    For more possibilities see this excellent W3-schools page.

    #1314
    ajeet

    Try this as well, some fancy stuff

    `text-decoration: underline violet solid;`

    `text-decoration: underline yourColor dashed;`

    #1315
    BertBert

    Hi Ajeet,

    `text-decoration: underline violet solid;`

    does not work for me in Publii.

    This works:

    `a:link {
    text-decoration: underline;
    text-decoration-color: violet;
    }`

    #1316
    ajeet

    Oh, for me its working.

    here is the link: https://ajeet.dev/how-to-use-windows-subsystem-for-linux/

    Looks like we need to study more about CSS 🙂

    #1318
    BertBert

    Hmm, my reply disappeared again.

    New try: That is something strange Ajeet. Maybe I made a mistake or mistyped something. I’ll try again, just for the fun of it.

    Congrats on your website. Although I left the Windows world about 15 years ago, I’m still fascinated by projects like yours, trying to build bridges. Especially good to see how you care about the beginners’ fate.

    #1319
    ajeet

    My replies are getting updated 🙂 Lucky me.

    And Thanks Bert.  I am new to coding and web dev. I did not want to move away from windows, and Mac book is not so cheap. So, I chose Windows+Ubuntu. … I keep posting whatever I learn.

    Hope my blog helps the beginners.

    Thanks again 🙂

    #1321
    TinyBatz

    Thank you to both of you for your generous advice, it’s working great now! Much appreciated!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How do I set it up so that hyperlinks appear underlined in final render of site.’ is closed to new replies.