There were many ways to achieve the Read More/See Less content revealing widget. Please choose what is the best for your client
How to? (Elementor + CSS)
- Build up a section with long text content
- Choose which paragraph do you want to hide and show the read more button
- Grab Toggle widget and add it to the section
- Put the paragraph that you choose on 2. as a content inside the toggle and delete another toggle item since we will use only one
- Once finished you will have a Read More button which will reveal the hidden paragraph when clicked
- Add class to the section that contains this toggle
- Put the CSS in and now you are good to go (please check at the comment above each rules to see what it is for)
I thought for a couple of years that roof leaks were something I had to live with. There were always leaks and we were lucky to stop one out of three leaks.
We always had one or two major leaks, whose cause was a mystery.
We even resorted to purchasing special funnels designed to divert the leaks into barrels or drains after trying new roofs and could never eliminate all of the leaks.
I thought for a couple of years that roof leaks were something I had to live with. There were always leaks and we were lucky to stop one out of three leaks.
We always had one or two major leaks, whose cause was a mystery.
We even resorted to purchasing special funnels designed to divert the leaks into barrels or drains after trying new roofs and could never eliminate all of the leaks.
How to? (Vanilla JS dynamic max height)
- Download dynamicmaxheight.min.js to your computer
- Upload it to site via FTP, better put it in /public/wp-content/uploads/scripts/dynamicmaxheight/
- Paste the HTML below to the area do you want to make this widget appear you can edit these options to make it fit with what you want
- data-maxheight: represent how height of the paragraph do you want to show before toggled
- data-button-more: the Read more button label
- data-button-less: the See less button label
- Add CSS and JS into custom code, if you have a different background color don’t forget to change it at .height-active .dynamic-wrap:before
PUT ALL OF YOUR CONTENT HERE
HTML put it in the page content
CSS + JS put it in the Custom code
My life fades. The vision dims. All that remains are memories. I remember a time of chaos... ruined dreams... this wasted land. But most of all, I remember The Road Warrior. The man we called "Max." To understand who he was, you have to go back to another time... when the world was powered by the black fuel... and the desert sprouted great cities of pipe and steel. Gone now... swept away. For reasons long forgotten, two mighty warrior tribes went to war, and touched off a blaze which engulfed them all. Without fuel they were nothing. They'd built a house of straw. The thundering machines sputtered and stopped. Their leaders talked and talked and talked. But nothing could stem the avalanche. Their world crumbled. The cities exploded. A whirlwind of looting, a firestorm of fear. Men began to feed on men. On the roads it was a white line nightmare. Only those mobile enough to scavenge, brutal enough to pillage would survive. The gangs took over the highways, ready to wage war for a tank of juice. And in this maelstrom of decay, ordinary men were battered and smashed... men like Max... the warrior Max. In the roar of an engine, he lost everything... and became a shell of a man... a burnt-out, desolate man, a man haunted by the demons of his past, a man who wandered out into the wasteland. And it was here, in this blighted place, that he learned to live again.