Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Read More Button

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #271203
    MikeSansone
    Participant

    Hey there!

    I am looking to add a read more button to some content on my site. Haven’t been able to find a good way to do it yet.

    I am on wordpress. Any ideas would be awesome!

    MIKE
    https://mikesansonephotography.com/

    #271204
    Beverleyh
    Participant

    What do you mean exactly?

    Just a button that goes off to another page? You can style one up with CSS, or Google for button generators.

    Or maybe you mean a button that, when clicked, reveals some extended text, maybe in a dropdown/sliding motion? That would be done with JavaScript. You could do it with jQuery (might be including in your WordPress theme already) – Look into the slideUp()/slideDown() methods. You might also find other scripts online under the umbrella of “content accordion” or the likes.

    #271312
    Chris Coyier
    Keymaster

    In WordPress, you usually get a Read More button by just putting a

    <!--more-->
    

    HTML comment in the content area.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.