Copy link to clipboard
Copied
Sorry if this is a basic question. How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?
How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?
If you're using Bootstrap, use data-toggle and the collapse class.
<button class="btn btn-default" data-toggle="collapse" data-target="#details1">READ MORE</button>
<div id="details1" class="collapse">
DETAILS1 CONTENT GOES HERE...
</div>
Nancy O.
Copy link to clipboard
Copied
Dreamweaver doesn't have a built-in tool for a Read More button. You can learn how to do it here: https://css-tricks.com/text-fade-read-more/.
Copy link to clipboard
Copied
How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?
If you're using Bootstrap, use data-toggle and the collapse class.
<button class="btn btn-default" data-toggle="collapse" data-target="#details1">READ MORE</button>
<div id="details1" class="collapse">
DETAILS1 CONTENT GOES HERE...
</div>
Nancy O.
Copy link to clipboard
Copied
Thanks Nancy. Will give this a try.
Copy link to clipboard
Copied
Nancy - this works great! Thanks so much!!
Copy link to clipboard
Copied
You're welcome.
FYI Bootstrap contains lots of good stuff.
http://getbootstrap.com/components/
Nancy O.
Copy link to clipboard
Copied
Thank you David. It's quite close to what I had in mind. Thanks again!
Copy link to clipboard
Copied
Whilst that Bootstrap solution works to an extent it's not a true Read More/Read Less solution.
The below is a genuine solution: