Change some links colour

Discussion in 'SwiftRay WordPress Theme' started by brgsousa, Jun 11, 2014.

Thread Status:
Not open for further replies.
  1. brgsousa

    brgsousa New Member

    Joined:
    Apr 25, 2012
    Messages:
    6
    Likes Received:
    0
    How can I change just some specific links colour?
    It is not all links.
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Please share page link and point those links of which you want to change color.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  3. brgsousa

    brgsousa New Member

    Joined:
    Apr 25, 2012
    Messages:
    6
    Likes Received:
    0
    Hi,
    I can't share the page link because it is not published to the Internet yet.
    But it goes like this:
    On "Home page settings" > "Home page content" this is my content:
    <div id="celula_sobreacsg">
    <p><strong>SOBRE A CSG</strong></p>
    A CSG Engenharia atua no mercado de constru&ccedil;&atilde;o civil, tendo como respons&aacute;veis t&eacute;cnicos engenheiros com anos de experi&ecirc;ncia na &aacute;rea.<br /><br />
    <div id="link"><a href="?page_id=54">Saiba mais</a></div>
    </div>
    I want to change the color for "Saiba mais" link.

    And on "Styling options":
    #celula_sobreacsg {
    float:left;
    display:inline-block;
    background-color:#FFF8E1;
    max-width:290px;
    padding:20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    }
    #link{
    text-decoration: underline;
    color: red ! important;
    font-style: italic;
    }

    And it's still not working.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
     #link a{
    text-decoration: underline;
    color: red ! important;
    font-style: italic;
    }
    I hope it will work.

    Thanks & Regards
    Nitesh Raghuwanshi
     
    brgsousa likes this.
  5. brgsousa

    brgsousa New Member

    Joined:
    Apr 25, 2012
    Messages:
    6
    Likes Received:
    0
    It worked! Thank you very much!
     
Thread Status:
Not open for further replies.

Share This Page