How to change the color of the manual excerpt "read more" link

Community Forums Forums Design Tips and Tricks How to change the color of the manual excerpt "read more" link

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  bigbossman 2 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #103016

    bigbossman
    Member
    Post count: 4

    Hi Guys

    Testing things at the moment on my site http://TheAgelessMan.com. I am using manual excerpts on the site and I added the following code in the functions.php to add the “read more” link at the bottom of the manual excerpt.

    But, I’d like to be able to change the color of the “read more” link. What can I add to the code below to do that or perhaps the addition is elsewhere? Cheers guys.

    function excerpt_read_more_link($output) {
    global $post;
    return $output . ‘ID) . ‘”> Read More…‘;
    }
    add_filter(‘the_excerpt’, ‘excerpt_read_more_link’);

    http://theagelessman.com
    #103022

    Lauren @ OnceCoupled
    Member
    Post count: 512

    You’ll need to edit your style.css file to change the color of that link.

    Best,
    Lauren


    I do custom WordPress work! http://oncecoupled.com
    Contact me directly: lauren@oncecoupled.com

    #103026

    bigbossman
    Member
    Post count: 4

    Can you say where exactly. A little detail would be appreciated

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

You must be logged in to reply to this topic.