Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1412153

    Hi,

    I would like to remove the link underline from some text, but not from all the links.
    For example:
    Telefono: 031 805 3185 (ok with underline)
    Homepage (link, but without underline)

    https://www.dropbox.com/s/g9d8xg56ngvr268/Screen%20Shot%202023-06-30%20at%2012.43.25.png?dl=0

    #1412160

    Hi tcampaner,

    You can set the links not to have a line and then add this CSS code in Enfold > General Styling > Quick CSS to add underline to telephone links:

    #top #wrap_all a[href^="tel:"] {
        text-decoration: underline;
    }

    Hope it helps.

    Best regards,
    Nikko

    #1412494

    Hi Nikko,

    I did not express myself correctly; I apologise for that.
    I would like to keep the texts that have hyperlinks with underline, but in some exceptions I would like to remove the underline. Is there a code or something that I can add to that specific piece of text?

    Thank you!

    #1412500

    Hi,

    Thanks for the clarification. You can add a class to the elements where you want the links not to be underlined, for example no-underline. You can add the class in the Advanced tab in the element options, then you can add this to Quick CSS:

    .no-underline a {
      text-decoration: none !important; 
    }

    Best regards,
    Rikard

    #1412504

    Hey Rikard,

    Thank you very much! This is exactly what I needed!

    Warm regards,
    Oana

    #1412538

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove link underline from specific texts’ is closed to new replies.