Okay
  Public Ticket #1482030
link color
Closed

Comments

  • Zac started the conversation

    Hi, 

    I have my accent color set as brown. I like this color for the menu hover over color, blog post titles, etc., but would like hyperlinks I include in blog posts to be blue. How can I do this? 


    Thanks. Zac

  •  3,034
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please use the CSS in Salient > General Settings > CSS/Script Related > Custom CSS Code

    body a { color:blue!important; }

    Hope this helps,

    Regards

  • Zac replied

    Hi Andrew, 

    Thanks for your prompt reply. 

    I tried the solution you suggested. The problem is that that also changes colors in the menu to blue, as well as the names of commentors, and some other things that are part of the overall design of the page. What I want to change to blue is  only the hyperlinks that I inlcude in the body of pages and posts. Is there a way to do this?

  •  9,016
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    body .post-content a {
        color: #167ac6 !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Zac replied

    Hi, I tried this but am not seeing the changes. There is a red cross, but it's below all the CSS, so theoretically it should work, right? (see screenshot)

  •  9,016
    Tahir replied

    Add a ending curly brace on line 8 "}" .

    Be.st 


    ThemeNectar Support Team