From d519347ac8690249abfb99047742d0010aeeffda Mon Sep 17 00:00:00 2001 From: Divya Baid <32747809+divyabaid16@users.noreply.github.com> Date: Sun, 21 Apr 2019 21:28:53 +0530 Subject: [PATCH] Read-more button for new blog page(#5449) --- app/views/tag/blog2.html.erb | 40 +++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/app/views/tag/blog2.html.erb b/app/views/tag/blog2.html.erb index 010dd9afe4e..6d4ccddab4c 100644 --- a/app/views/tag/blog2.html.erb +++ b/app/views/tag/blog2.html.erb @@ -10,7 +10,7 @@ This is basic html layout
+
Here is the lorem ipsum content
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
@@ -80,4 +80,42 @@
margin-right:1em;
margin-left:1em;
}
+.more-content span {
+ display: none;
+}
+.more-link {
+ width: 150px;
+}
+.more-button{
+ text-align: center;
+ margin: 20px;
+}
+