Read more link based on height of container

Hi, is it possibile to add a read more link based on height of container?
For example can I create a “Read More” Button or link based on number of words in a div without the need to specify at what point the paragraph should be interrupted

That’s going to be an interesting approach on 4 different breakpoints. I’m not sure if I follow what you try to achieve. Any samples would be helpful.

Hi Jerry, thanks for replying, here is an example of what I’m trying to do: ReadMoreJS Demos

I understand the process but do not understand the benefits compared to the solutions Blocs is able to offer you. However, you got the script there and it will be fairly easy to add to Blocs.

The reason is that I want to add it to wordpress content, that’s why I can’t use the “read more” brick from the store. Should the script work even if I use it for Wordpress? How can I add it in my theme?

I’ve moved your question to the WordPress category for better results.

Thanks a lot!