• Resolved Max

    (@max-linder)


    Hi,

    thanks for a great theme!

    I find that people often try to click on the excerpt text, thinking it’s a link to the post. So I edited excerpt-content in my child-theme’s content.php. The link works, but I’m getting some unexpexted results with the color. After hovering, the text sometimes turns green – which is my color for article a:hover – instead of dark grey – the color for .excerpt-content. What am I doing wrong?

    Here’s the page: https://bl?sut.com

    /Max

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Max

    (@max-linder)

    Never mind. I removed the <article> tag from content.php and it’s all good!

    Original:

    <div class='excerpt-content'>
    <article>
    <?php ct_tracks_excerpt(); ?>
    </article>
    </div>

    Modified:

    <div class='excerpt-content'>
    <a href="<?php the_permalink(); ?>"><?php ct_tracks_excerpt(); ?></a>
    </div>
    Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks! Glad you’ve figured it out ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making the excerpt text clickable’ is closed to new replies.