• Resolved marywt

    (@marywt)


    I am putting together a website using Oblique, which is brilliant in so many ways … but …
    Vistited link show exactly the same as unvisited links and I think this is a real problem for ease of use. I have been through and through the customiser and found nothing to help because any changes also change the header text on the banner, which I don’t want. I have downloaded Yellow Pencil CSS editor and changes I make there on visited links show up in the editor and the coding but don’t show on a live site. I have tried coding into the CSS editor in Customiser but I am not good at that and my attempts have all resulted in failure to get it right.

    I have changed the link text to italic using Yellow Pencil and I would like the visited link to change from italic to normal text, no text style. Can you please help me get this to happen?

    Thanks, Mary

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @marywt!

    I’d be glad to help you, but can you please provide the link to your site?

    Thread Starter marywt

    (@marywt)

    At the moment it is not fully active as it will eventually replace another site.
    It is sandbox.historic-sidmouth.uk

    @marywt,

    I’m afraid I am not able to access your site.

    Thread Starter marywt

    (@marywt)

    I have set up a user to allow you to see it, but not do more. Obviously putting details out in a public forum is not sensible so please let me know when you have used it and I can remove the user.

    The temporary user is Test and the password is test.

    If you need more access than that them we need to private message somehow.

    Hi @marywt,

    I saw what I needed. You can remove the user now. I’ll be back as soon as possible with the solution.

    Have a nice day!

    @marywt,

    I looked into this problem and I’m afraid that you are not going to be able to do that.
    When the :visited selector is combined with getComputedStyle() in JavaScript it means that someone can walk through your history and figure out where you’ve been.

    As a result, most browsers restrict what styling can be changed on :visited links, and what styling information can be reported with the getComputedStyle method.

    These are the properties that can be changed with :visited:

    color
    background-color
    border-color (and its sub-properties)
    outline-color
    The color parts of the fill and stroke properties
    You can only use :visited to change those properties if the link already has them in the “unvisited” or :link state. You can’t use it to add properties that aren’t already present on the link. For example:

    You can change the background-color of a :visited link if the link element already had a background color.

    You can’t add a background-color to a :visited link if it did not have a background color when it was an “unvisited” link.

    I hope it all makes sense now.

    Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Visited links’ is closed to new replies.