# Removing the break tag between Category Images and Category Name

**URL:** <https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051>\
**Category:** Feature\
**Created:** [11.Декабрь.2014 00:33:44 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051 "2014-12-11T00:33:44Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

[strager](/t/-/23051/1) requested a solution to remove the `<br>` tag between category images and names to allow for inline styling. [sam](/t/-/23051/2) suggested replacing the non-semantic `<br>` with a `<span>` to make the element easily stylable. [strager](/t/-/23051/3) followed up, asking if this fix would be included in a near-future release to improve their front page for an upcoming demonstration. [codinghorror](/t/-/23051/4) assigned the task to [zogstrip](/t/-/23051/5), who confirmed that the issue was fixed and provided the relevant GitHub commit link.

<div class="post-metadata">

**Author:** ![strager](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@strager](https://meta.discourse.org/u/strager)\
**Post date:** [11.Декабрь.2014 00:33:44 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/1 "2014-12-11T00:33:44Z")

</div>

This looks like something that needs to be done in code, but I figured I’d post here and see if anyone has a solution we aren’t considering.

We have a Category page with images assigned to them. We would like to remove the `<br>` tag between the image and the Category name so we can put them inline. Is there a simple way to do this?

 ![](https://global.discourse-cdn.com/meta/original/3X/b/8/b8a40f0c09e78dc610f7d318def91300e7918471.png)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [11.Декабрь.2014 01:10:33 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/2 "2014-12-11T01:10:33Z")

</div>

This br is not semantic, we should be using a span here, which would make this easily stylable cc @awesomerobot

---

<div class="post-metadata">

**Author:** ![strager](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@strager](https://meta.discourse.org/u/strager)\
**Post date:** [13.Декабрь.2014 16:42:28 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/3 "2014-12-13T16:42:28Z")

</div>

Any chance this is going to be updated in a near-future release? We have a demonstration coming up and we could make our front page look much closer to our old page if we could make this change.

If not, it’s not the end of the world… just figured I’d check since it should be a relatively simple fix. Thanks in either case 😄

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [13.Декабрь.2014 19:51:33 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/4 "2014-12-13T19:51:33Z")

</div>

Sure @zogstrip could you take this on 🇫🇷 Monday?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [15.Декабрь.2014 14:40:18 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/5 "2014-12-15T14:40:18Z")

</div>

It’s now fixed 🍞

[https://github.com/discourse/discourse/commit/a014507da49032f75a7dc323b554902db49b9b11](https://github.com/discourse/discourse/commit/a014507da49032f75a7dc323b554902db49b9b11)

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [15.Декабрь.2014 14:40:21 UTC](https://meta.discourse.org/t/removing-the-break-tag-between-category-images-and-category-name/23051/6 "2014-12-15T14:40:21Z")

</div>


