# Make RSS Feed Module three equal columns

**URL:** <https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [August 10, 2020, 5:35pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007 "2020-08-10T17:35:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 10, 2020, 5:35pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/1 "2020-08-10T17:35:23Z")

</div>

Hello there. I am trying to make the RSS feed module show in three equal columns on the homepage of my website. I have searched for an answer, but can’t find one. Is there an easy way to make this change?

Here is the link - [https://www.warmcommerce.com/?hs\_preview=FtqwLBoe-31347187227](https://www.warmcommerce.com/?hs_preview=FtqwLBoe-31347187227)

---

<div class="post-metadata">

**Author:** ![jonchim](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonchim/32/88818_2.png) [@jonchim](https://community.hubspot.com/u/jonchim)\
**Post date:** [August 11, 2020, 1:11pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/2 "2020-08-11T13:11:20Z")

</div>

Hi @lbrochstein ,

You can do this via flex or grid, once you apply these styles something like the below you’ll have to change the floats on the featured image that its pulling so that it sits on top of the title.

.hs-rss-module .hs-rss-item {

```
  width: 33%;

```

}

.hs-rss-module {

```
 display: flex;

  flex-wrap: wrap;

```

}

---

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 11, 2020, 1:50pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/3 "2020-08-11T13:50:35Z")

</div>

Thanks, @jonchim ! That is working to put it in columns, but I don’t have any clue how to change the floats. Can you give me the code for that as well please?

[https://www.warmcommerce.com/?hs\_preview=FtqwLBoe-31347187227](https://www.warmcommerce.com/?hs_preview=FtqwLBoe-31347187227)

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 11, 2020, 8:47pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/4 "2020-08-11T20:47:30Z")

</div>

Jey @lbrochstein

I added a little to @jonchim 's CSS. not sure if this is the look you’re going for but wortha shot:

```auto
.hs-rss-module .hs-rss-item {width: 33%;
 display: flex; /*make the parent a flex container*/
 flex-direction: column; /*display the content in a column*/
}

.hs-rss-item-text {
 order: 2; /*reorder the position of the text block*/
}

.hs-rss-module .hs-rss-item .hs-rss-item-image-wrapper{
 width: unset; /*reset the width of the image*/
 padding-right: 20px; /*padding to match the etxt block*/
 order: 1; /*reorder the position of the img wrapper block*/
}

.hs-rss-module {
 display: flex;
 flex-wrap: wrap;
}

```

---

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 11, 2020, 9:03pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/5 "2020-08-11T21:03:09Z")

</div>

Hi @Kevin-C That is great! Now, I just need the images to be a bit larger. Same size as the column width and centered aligned over the columns…

Thank you so much for all the help!!

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 11, 2020, 9:36pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/6 "2020-08-11T21:36:07Z")

</div>

@lbrochstein Glad it helped!

When you say large my designer eye twitches! Lol

Your images are set to 100% (since we “unset” the width) of its parent container, the column. The columns are set to 33% of the parent container. So if you want larger images you’ll have to increase the size of the parent container. To do that you must increase the size of, or change the max-width of the top most “ **row-fluid** ” of the associated content block in your template (i’m not sure of a more concise way of saying that…).

Now I’m not sure what tools you’re using to modify your templates, be it the drag and drop layout tool or hubl + html templates.

If using the design manager look for the row with your custom modules. Add a custom css class or inline styling to the block.

If using hubl + html look for this clode block:

`<div class="row-fluid-wrapper row-depth-1 row-number-59 dnd-section dnd_area_main_banner-row-10-padding">…`

and add an inline style to modify. Like so:

`<div class="row-fluid-wrapper row-depth-1 row-number-59 dnd-section dnd_area_main_banner-row-10-padding" style="max-width: 1366px">`

Or add a css class to handle this:

`<div class="row-fluid-wrapper row-depth-1 row-number-59 dnd-section dnd_area_main_banner-row-10-padding my-newclass">`

```auto
.my-new-class {
 max-with: 1366px!important;/* important may not be needed */
}

```

For scalability and maintenance I would opt for the additional class option.

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 11, 2020, 9:39pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/7 "2020-08-11T21:39:39Z")

</div>

For good measure: Your templates are using a custom css framework. You’ll see the “dnd-…” everywhere. This framework might have a class designed to do exactly what I just mentioned!

---

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 11, 2020, 10:03pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/8 "2020-08-11T22:03:56Z")

</div>

I found the dnd file, but couldn’t really understand it!  
 ![16x16_smiley-surprised.png.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/e680c0f669131883b1af22b301f8d076f5bff0f3.png)

If you look at the page, the featured image is super small. It’s doing what is supposed to do, but it is tiny…

[https://www.warmcommerce.com/?hs\_preview=FtqwLBoe-31347187227](https://www.warmcommerce.com/?hs_preview=FtqwLBoe-31347187227)

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 11, 2020, 10:41pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/9 "2020-08-11T22:41:50Z")

</div>

Ah thats my bad. We need to overwrite the image container size rather than just unset it. Ive updated the css below:

```auto
.hs-rss-module .hs-rss-item {
 width: 33%;
 display: flex; /*make the parent a flex container*/
 flex-direction: column; /*display the content in a column*/
}

.hs-rss-item-text {
 order: 2; /*reorder the position of the text block*/
}

.hs-rss-module .hs-rss-item .hs-rss-item-image-wrapper{
 width: 100%!important; /*reset the width of the image*/
 padding-right: 20px; /*padding to match the etxt block*/
 order: 1; /*reorder the position of the img wrapper block*/
}

.hs-rss-module {
 display: flex;
 flex-wrap: wrap;
}

```

The order the css is loaded is what’ll cause this. If this doesn’t fix it, you now know that its the “hs-rss-item-image-wrapper” that needs modified. Specifically the width property.

---

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 12, 2020, 1:13pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/10 "2020-08-12T13:13:49Z")

</div>

That’s getting there!! Now, the problem is the wrap within the column. It doesn’t go all the way across. Maybe it’s because of the size of the columns? Not sure, but the images are good, although I would love them to be the same size all the way across.

I really appreciate the help you are giving me!!

[https://www.warmcommerce.com/?hs\_preview=FtqwLBoe-31347187227](https://www.warmcommerce.com/?hs_preview=FtqwLBoe-31347187227)

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 12, 2020, 2:48pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/11 "2020-08-12T14:48:23Z")

</div>

Hey @lbrochstein

Add this:

```auto
.hs-rss-item-text {
 order: 2; /*reorder the position of the text block*/
 width: 100%!important;
}

```

---

<div class="post-metadata">

**Author:** ![lbrochstein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lbrochstein/32/84083_2.png) [@lbrochstein](https://community.hubspot.com/u/lbrochstein)\
**Post date:** [August 12, 2020, 3:06pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/12 "2020-08-12T15:06:05Z")

</div>

Worked on the first one, but not the second! Also, is there a way to get the images to all be the same size as the first image?

Thank you!!

---

<div class="post-metadata">

**Author:** ![Kevin-C](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kevin-c/32/34570_2.png) [@Kevin-C](https://community.hubspot.com/u/Kevin-C)\
**Post date:** [August 12, 2020, 3:25pm UTC](https://community.hubspot.com/t/make-rss-feed-module-three-equal-columns/24007/13 "2020-08-12T15:25:53Z")

</div>

Hey @lbrochstein

The issue is that the images are acutally different sizes adn aspect ratios. See below:

![30222i7C5028762A4F083A.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/b/cbd794da293503eadccb05185a6492db2cba16ea.png)

![30223iBBE5724C0D642832.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/e/be8b34d168d2b8685cfbf779d7b8bb2d6bd11173.png)

**Consistancy from the author/designer will fix this**. But a fall back would be to add a ‘max-height’ to the image wrapper class adn ‘overflow: hidden’.

```auto
max-height: 240px;
overflow: hidden;

```

That might sound harsh but ensuring the correctly formatted assets is not only important for the UX, but more importantly the page performance. “Quality in quality out” as they say. _To illustrate: The chains image is ~1.25mb vs the other image that is ~551kb._

You can use the [lightouse](https://developers.google.com/web/tools/lighthouse) tool from google to audit this and even get great fixes and insihts!
