Jump to content


Photo
- - - - -

drop down reveal of content


  • Please log in to reply
4 replies to this topic

#1 sysorex

sysorex

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 11 February 2011 - 02:16 PM

I was wondering if there is a way to make it so that some content is hidden and then when you you click on something like read more it reveals the rest of the text, an example of this is

Please Login or Register to see this Hidden Content

. on the bio for Marissa Levin when you click the read full bio that is what I am trying to achieve, thanks

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 11 February 2011 - 05:35 PM

Very simple...start by adding this hook to your PlatformBase functions.php ` add_action ('wp_head','js_additions'); function js_additions(){?>

#3 bonngean

bonngean

    Advanced Member

  • Members
  • PipPipPip
  • 82 posts

Posted 01 April 2011 - 11:00 PM

Adam, This is definitely something I'd like to do on my blog. I understand the part to add to my functions.php file but I don't understand the rest of your instructions. Could you elaborate? I'm not rehearsed in CSS but frantic to learn it. Thanks! -Bonnie

#4 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 02 April 2011 - 04:43 AM

Like this:

Please Login or Register to see this Hidden Content



#5 bonngean

bonngean

    Advanced Member

  • Members
  • PipPipPip
  • 82 posts

Posted 02 April 2011 - 08:12 PM

Thanks Jimmy, It makes more sense now (though I feel goofy for not knowing it was that simple.) :) --Bonnie