Slider Title – Changing Text Colour

  • rodeboy

    #7187

    Hi guys, I am in the process of developing a website for my daughter (so it has to be just right!!) as she works her way through college studying Beauty Therapy.

    It’s at http://www.beauty.org.uk

    On the slider the post titles show (there is no other text in the posts) and as you can see they are in the default white. I would like to change the font colour to blue or red but despite searching the forum and trying different CSS codes to insert, I just can’t get the right one so am resorting to troubling you. I guess I’m just missing something, but basically could someone advise on the code to put into the Custom CSS box please?

    Many thanks as ever.

    Chris

    Chris

    #37285

    Try this:

    .bgimage-excerpt .slider_post h2 a,
    .bgimage-excerpt .slider_post h2 a:visited {
    color: #0000FF; }

    If it’s just the h2 title that you’re changing, that should work. Check out one of the tools in some of the browsers that allow you to check your CSS codes and tweak them live to see what they do. Firebug for Firefox is one of the best. Google Chrome has one built in too. You just right click what you’re wanting and then ‘inspect element.’

    rodeboy

    #37286

    Hey Chris, you’re the man!!

    Sorted. Thanks very much.

    Chris

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!