How to add category description that shows say 150 characters and then to read the full text you have to click on a “read more” link and then the full paragraph gets shown?
Is this possible?
Thanks
B
Just use html in your description with the stuff you want to hide inside a div tag like:
```php
My hidden content
```
and then have an anchor tag like:
```php
See more
```
I believe that will do what you want or you could have the anchor tag simply redirect to a "Page" that has the additional information....
All I did was hit the enter button where you want the page break.
Just use html in your description with the stuff you want to hide inside a div tag like:
and then have an anchor tag like:My hidden content
See moreI believe that will do what you want or you could have the anchor tag simply redirect to a "Page" that has the additional information....
is an old article, if I had to update it to today's version how would it be?
Please try
My hidden contentSee more
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
My hidden content
Hi Guys,
First just place the following JavaScript code at the bottom of index.tpl file.
After go to your default_template.tpl file,
Find this code "{$product.full_description} , if not there, will place like this .
{$product.full_description|strip_tags}
That's all.
Thank you,