# How to change text of this span object with no selectors?

**URL:** <https://meta.discourse.org/t/how-to-change-text-of-this-span-object-with-no-selectors/272016>\
**Category:** Development\
**Created:** [July 18, 2023, 7:46pm UTC](https://meta.discourse.org/t/how-to-change-text-of-this-span-object-with-no-selectors/272016 "2023-07-18T19:46:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [July 19, 2023, 5:30am UTC](https://meta.discourse.org/t/how-to-change-text-of-this-span-object-with-no-selectors/272016/4 "2023-07-19T05:30:16Z")

</div>

Hello 👋

This is possible with CSS.

```scss
body.category-name {
  .topic-list-header {
    .default.topic-list-data {
      span {
        visibility: hidden;
        &:before {
          content: "Blogs";
          visibility: visible;
        }
      }
    }
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-text-of-this-span-object-with-no-selectors/272016)._
