Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1134580

    jrerko
    Participant

    hi,

    i want to have text links be underlined and a different color than the surrounding text. for example, if in a blog post i use the cornerstone text editor to have the word “here” be hyperlinked to a different site, i want the “here” to be in blue and underlined always (not just when hovered).

    i’ve gone through previous posts on this site to find the solution, but none are working for me. i tried the CSS text below, for example, and nothing.

    please help.

    .x-main a {
    text-decoration: underline;
    }

    #1134669

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1135916

    jrerko
    Participant
    This reply has been marked as private.
    #1136332

    Friech
    Moderator

    Hi There,

    Thanks, since you already provided your credentials. I did go ahead and declare this class below on your custom CSS.

    .link-here {
    	color: blue;
    	text-decoration: underline;
    }

    Now you just need to apply a class link-here to your link text.

    e.g.
    <a href="#" class="link-here">here</a>

    Hope it helps, Cheers!

    #1138698

    jrerko
    Participant

    thanks!

    #1138709

    Joao
    Moderator

    You are welcome!

    Let us know if we can help with anything else.

    Joao