Change the 'Read More' fancy_link in Blog Excerpt to button

resolved (4 posts) (2 voices)

  1. mytzlplik
    Member

    How do I change the fancy_link at the bottom of my blog excerpt to the button?
    I tried changing the class in the template-blog.php from fancy_link to button_link but that didn't seem to work.
    <a class="button_link read_more_link" href="<?php the_permalink(); ?>">
    See screenshot:

    Attachments

    1. Capture.JPG (12.5 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  2. Elliott
    Support

    Hello mytzlplik,

    Sorry for the late reply. You had the right idea, try adding <span> tags around the Read More text like this..

    <a class="button_link" href="<?php the_permalink(); ?>"><span>Read More</span></a>

    Posted 1 year ago #
  3. mytzlplik
    Member

    Thanks Elliot,

    That worked great.

    Posted 1 year ago #
  4. Elliott
    Support

    Glad you got it fixed mytzlplik, please continue to support Webtreats! :)

    Posted 1 year ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme