# Spoiler content only visible for registered users

**URL:** <https://meta.discourse.org/t/spoiler-content-only-visible-for-registered-users/135940>\
**Category:** Development\
**Created:** [14 בדצמבר,‏ 2019,‏ 2:36pm UTC](https://meta.discourse.org/t/spoiler-content-only-visible-for-registered-users/135940 "2019-12-14T14:36:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [14 בדצמבר,‏ 2019,‏ 4:59pm UTC](https://meta.discourse.org/t/spoiler-content-only-visible-for-registered-users/135940/3 "2019-12-14T16:59:30Z")

</div>

I guess you can do it with js/css in your theme customization?

Something like: if #current-user exists then remove classes “spoiled”.

---

_[View the full topic](https://meta.discourse.org/t/spoiler-content-only-visible-for-registered-users/135940)._
