• Resolved vapd

    (@vapd)


    I’ve been trying to change text colour for links but my css rules are strikethrough all the time. Any idea??

Viewing 9 replies - 1 through 9 (of 9 total)
  • You can install Custom CSS plugin and then add the new styles using it.

    Are you putting the changes into custom.css? Sounds like the changes you are making are being loaded first then overwritten by something else.

    You can always add !important declaration to make it stick eg

    a {
    color: #999 !important;
    }
    Thread Starter vapd

    (@vapd)

    I’ve already tried it. I’ve been able to change everything I wanted except from this.

    https://www.vapd.net

    Did you try the Custom CSS plugin?

    You can add this code there (replacing NEW COLOR CODE HERE with the color you like:

    #nav ul li a {
        color: #NEW COLOR CODE HERE;
    }
    Thread Starter vapd

    (@vapd)

    Strikethrough as well.

    Has this issue happen before? You can also contact your hosting and see if there is any problem there that causes this.

    I am confused. You have

    a:link {
    color: #4581B9;
    text-decoration: none;
    }
    on line line 119 of https://www.vapd.net/wp-content/themes/max-magazine/style.css

    and the main links are in that colour.

    Can you please explain more and give examples or screenshot of what links you are referring to

    Thread Starter vapd

    (@vapd)

    Thanks, I changed the code colour in that line and worked fine. The thing is that I am using google developer tools before doing the real change in the .css file and for a strange reason that line appeared strikethrough with no choice to change the value.

    Yes that is the case but it is actually like that because it thinks the links are in a visited state. Anyway glad it worked… don’t forget to mark this topic as resolved

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change links text color’ is closed to new replies.