# Carousel only visible on community landing page?

**URL:** <https://meta.discourse.org/t/carousel-only-visible-on-community-landing-page/30126>\
**Category:** UX\
**Created:** [6월 17, 2015, 3:28오후 UTC](https://meta.discourse.org/t/carousel-only-visible-on-community-landing-page/30126 "2015-06-17T15:28:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [6월 17, 2015, 5:11오후 UTC](https://meta.discourse.org/t/carousel-only-visible-on-community-landing-page/30126/3 "2015-06-17T17:11:03Z")

</div>

It looks like they have a `<div class="welcome-message">` that contains the landing page area on every page. It has probably been added with the admin\>customize\>css/html\>top editor. It is set to `display: none`. What they are using as their landing page is the categories-list page. It adds a class of `.categories-list` to the page’s body tag. So if you add the css `.categories-list .welcome-message{ display: block;}` the previously hidden welcome message will show up on that page.

They have added this script. I’m guessing it has been added to the custom header html area. They are using the `.showing-welcome` class to push the Discourse header `.d-header` down 375px and to toggle the display of the welcome area. I think you could manage without it and just base the styles off of the `.categories-list` class.

```plaintext

    Discourse.DiscoveryCategoriesRoute.reopen({
        activate: function() {
            this._super();
            Em.run.next(function(){
              $('.welcome-message').show();
              $('.circle-img-welcome').show();
              $('body').addClass("showing-welcome");
            });
        },
        deactivate: function() {
            this._super();
            $('.welcome-message').hide();
            $('.circle-img-welcome').hide();
            $('body').removeClass("showing-welcome");
        }
    });
    $('.showing-welcome .d-header').waypoint('sticky', {
        offset: 70
    });

```

---

_[View the full topic](https://meta.discourse.org/t/carousel-only-visible-on-community-landing-page/30126)._
