How to truncate and add read more button on rich text

Hello, can you help me on my rich text to be truncate and add read more button on rich text. I want it to have a “Read more” button after 3 lines of sentence. This is my store link: https://sereneluminaire.com

Hello @sereneluminaire ,
Since you’re using the Dawn theme, you don’t need any additional code to add a “Read more” button to your rich text sections. The Dawn theme already has a built-in button option that you can access through the customization.The rich text section in your Dawn theme already has a button option available.

Hello @sereneluminaire ,

You can add buttons and can change positioning of text, button using theme customizer.

Please take a look at the below mentioned steps.

I hope it helps.

Thank you.

Hi @sereneluminaire ,

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code just above tag

If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
LuffyOnePiece

2 Likes

Hi Sandeep, This worked thank you so much, I’m just having one problem, it is cutting off the bottom of the sentence for low hanging letters like gpq etc. is there a way we can show more lines of text to begin with?

1 Like

Yeah, have same problem. Worked for me too

Would be nice if you could fix this