Change colour of links in posts

  • Author
    Posts
  • #156654

    leonazombie

    Hi, I’ve recently switched to this template as it has everything I want for my website, but there’s just one thing I’d like please. Can you please supply me with a code to make the links in my posts a different colour to the one they are at now – which is a light greyish purple, even though I’m just using a black and white palette?!? I would like to use the colour code #fc0356 for all links to other sites in my blog posts. I’ve tried the code that someone else asked for some time ago but it didn’t work for me.
    Many thanks in advance!

    The blog I need help with is artandher.com.

    #156679

    alexteodorescu08
    Theme Author

    Hey Leona,

    How are things going on your side of the world?
    I hope you are confident that we are going to make it work with COVID-19

    Now, I understand what you are trying to achieve.

    — Please try the following CSS and let me know if it helps:

    .entry-content p a {
    color: #fc0356 !important;
    }

    Insert it in Appearance → Customize → Additional CSS.

    Cheers,
    Alexandru
    Pixelgrade

    #156696

    leonazombie

    Hi Alexandru. It’s been crazy for us in the UK, such a sad time. I could say more but I’d only end up ranting about it all!
    That code worked great, thank you very much for your help. I did ask another question, can you help me with that one too please?
    Take care
    Leona

The topic ‘Change colour of links in posts’ is closed to new replies.