# How to hide topics of categories in mobile home page?

**URL:** <https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905>\
**Category:** Development\
**Tags:** mobile, css\
**Created:** [October 21, 2020, 6:40pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905 "2020-10-21T18:40:31Z")\
**Posts on this page:** 5\
**Page:** 1

## AI-generated summary

[avndp](/t/-/167905/1) asks how to hide latest topics within category sections on the mobile home page, noting that previous CSS attempts hid them across all pages, not just the home page. [dax](/t/-/167905/2) suggests using specific CSS selectors in the mobile theme customization to hide `.category-topic-link` and `.clearfix.category-topics-count`. However, [avndp](/t/-/167905/3) clarifies that this solution also removes topics from category pages, which is undesirable. [martyn_thomas](/t/-/167905/4) asks if there are updates, as they face the same issue. Finally, [Don](/t/-/167905/5) provides a potential solution using scoped SCSS to target `.navigation-categories .category-topic-link`, aiming to restrict the hiding effect to the navigation context.

<div class="post-metadata">

**Author:** ![avndp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/avndp/32/186766_2.png) [@avndp](https://meta.discourse.org/u/avndp)\
**Post date:** [October 21, 2020, 6:40pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905/1 "2020-10-21T18:40:31Z")

</div>

As shown in the snap below, I don’t want to show the latest topics in categories of mobile home page. How can I achieve this?

I’ve tried to hide it through CSS, but it is hiding not just in home page, but in other pages too.

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/f/5f0281a854edde2b61645146323d1ba0aab83b90.png)

---

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [October 21, 2020, 7:13pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905/2 "2020-10-21T19:13:05Z")

</div>

In the `customize > themes > mobile > CSS` try this:

```css
.category-topic-link,
.clearfix.category-topics-count {
    display: none;
}

```

---

<div class="post-metadata">

**Author:** ![avndp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/avndp/32/186766_2.png) [@avndp](https://meta.discourse.org/u/avndp)\
**Post date:** [October 22, 2020, 3:59am UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905/3 "2020-10-22T03:59:19Z")

</div>

This is taking away the 3 topics shown below the sub categories in the category page too. I’ve tried this already as mentioned in the original post. I want the topics to be hidden only in the home page categories.

---

<div class="post-metadata">

**Author:** ![martyn\_thomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martyn_thomas/32/344874_2.png) [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)\
**Post date:** [November 27, 2024, 1:36pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905/4 "2024-11-27T13:36:27Z")

</div>

Has there been any update on this?  
As i’m having the same issue

---

<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:** [November 27, 2024, 6:20pm UTC](https://meta.discourse.org/t/how-to-hide-topics-of-categories-in-mobile-home-page/167905/5 "2024-11-27T18:20:55Z")

</div>

Hello 👋

Mobile / CSS

```scss
.navigation-categories {
  .category-topic-link {
    display: none;
  }
}

```
