# Changing layout and format

**URL:** <https://community.hubspot.com/t/changing-layout-and-format/21676>\
**Category:** CMS Development\
**Tags:** content\
**Created:** [June 13, 2020, 4:25pm UTC](https://community.hubspot.com/t/changing-layout-and-format/21676 "2020-06-13T16:25:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Marin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/juan_marin/32/1529_2.png) [@Juan\_Marin](https://community.hubspot.com/u/Juan_Marin)\
**Post date:** [June 13, 2020, 4:25pm UTC](https://community.hubspot.com/t/changing-layout-and-format/21676/1 "2020-06-13T16:25:18Z")

</div>

Hi There!!

I am trying to change the layout of a simple Blog Listing page, but I am not being successful ( btw, I am not a programmer, so I am sure that is the reason )

**The situation:**

- See picture below to my blog post ( link [here](https://blog.fiftyx.eu/blog) )
- I am trying to show the “[Más…]” after the “…” at the end of the truncated text, so that I save two lines of text
- I am trying to reduce the font size of the “Tiempo de Lectura: 6 mins” ( reading time: 6 mins )
- I am trying to reduce the spacing between the two lines where the tags are showing. As you can see they are almos one line apart

**The Code Picture ( text at the end of the post 😞**

 ![28057i418BB7EB98EAC5B1.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/3/439998e9f7c557f011a6c5829187e3617a512fa8.png)

Apologies for such basic questions…but I have been working on this for the last 6 hours and have not been able to make any progress.

THANKS!!

\_\_\_\_\_\_\_\_\_\_\_\_\_

\<div class=“blog\_content\_area”\>  
\<p\>{{content.post\_list\_content|truncatehtml(120, ‘…’, false)}}\</p\>  
{% if content\_group.show\_summary\_in\_listing %}  
\<a class=“more-link” href=“{{ content.absolute\_url }}”\>\<font color=“F54F32”\>[Más…]\</font\>\</a\>  
{% endif %}  
\</div\>  
\<div class=“blog–tag-author-coloumn”\>  
\<div class=“topic”\>  
Tiempo de lectura: {{ content.post\_body|wordcount|divide(250) }} mins \<!-- TIEMPO DE LECTURA --\>  
{% if content.topic\_list %}  
\<p id=“hubspot-topic\_data”\>  
\<a\>TAGS:\</a\>  
{% for topic in content.topic\_list %}  
\<!-- \<i class=“fa fa-tags” aria-hidden=“true”\>\</i\> ICONO QUE NO SALÍA LO HE ELIMINADO --\>  
\<a class=“topic-link” href=“{{ blog\_tag\_url(group.id, topic.slug) }}”\>{{ topic.name }}\</a\>{% if not loop.last %},{% endif %}  
{% endfor %}  
\</p\>  
{% endif %}  
\</div\>  
\</div\>

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [June 18, 2020, 10:09pm UTC](https://community.hubspot.com/t/changing-layout-and-format/21676/2 "2020-06-18T22:09:42Z")

</div>

Hi [@Juan\_Marin](https://community.hubspot.com/t5/user/viewprofilepage/user-id/134959) ,  
You can achieve all this with CSS. Just paste the following into your stylesheet :

```auto
/ **Display inline so that the summary and more link are on the same line** /
.blog_content_area p,
.clear-blog-listing .blog_content_area a {
 display: inline;
}

/ **Change font size of time to read text** /
.blog--tag-author-coloumn .topic {
 font-size: 15px;
}

/ **Change the line height of the topics so that there's less space between lines** /
#hubspot-topic_data {
 line-height: 21px;
}

```

OR you could paste it in a \<style\> block at the top of your blog listing code

```auto
<style>
 / **Display inline so that the summary and more link are on the same line** /
 .blog_content_area p,
 .clear-blog-listing .blog_content_area a {
 display: inline;
 }

 / **Change font size of time to read text** /
 .blog--tag-author-coloumn .topic {
 font-size: 15px;
 }

 / **Change the line height of the topics so that there's less space between lines** /
 #hubspot-topic_data {
 line-height: 21px;
 }
</style>

```

---

<div class="post-metadata">

**Author:** ![Juan\_Marin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/juan_marin/32/1529_2.png) [@Juan\_Marin](https://community.hubspot.com/u/Juan_Marin)\
**Post date:** [July 7, 2020, 11:08pm UTC](https://community.hubspot.com/t/changing-layout-and-format/21676/3 "2020-07-07T23:08:41Z")

</div>

AWESOME!!! Thanks
