# Shorter duplicate events calendar

**URL:** <https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127>\
**Category:** General Questions\
**Created:** [June 4, 2023, 9:52pm UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127 "2023-06-04T21:52:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holocaust\_Center](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/holocaust_center/32/18179_2.png) [@Holocaust\_Center](https://community.elfsight.com/u/Holocaust_Center)\
**Post date:** [June 4, 2023, 9:52pm UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127/1 "2023-06-04T21:52:45Z")

</div>

Hello, we are currently using the Events Calendar app on our events webpage, but would like to create an additional module on our home page that doesn’t list all of the Events. Is there a way to reduce or control the number of events pulled? Basically:

1. Events Page: List all the events
2. Home Page (module): List only events happening soon

Thanks!

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [June 5, 2023, 6:56am UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127/2 "2023-06-05T06:56:59Z")

</div>

Made this topic public on June 5, 2023, 6:56am UTC



---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [June 5, 2023, 12:26pm UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127/4 "2023-06-05T12:26:48Z")

</div>

Hi @Holocaust_Center 👋

We’re so happy you decided to join us. Welcome ❤

Unfortunately, there is no option to have different setting for the same widget on different pages. To do this, you need to create 2 different widgets.

I hope this explains things.

If any other questions come up, please let me know. I’ll be happy to advise!

Have a great day 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [June 7, 2023, 12:24pm UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127/5 "2023-06-07T12:24:54Z")

</div>

Hi @Holocaust_Center 👋

We’ve got some good news for you!

Our dev team found a solution for your use case. You need to add these styles to the widget on the page where you’d like to reduce the number of events pulled:

```auto
<styles>
.eapp-events-calendar-grid-item:nth-child(n+5) {
  display: none;
}
</styles>

```

Depending on how many events should be displayed, you need to change the number in this part of the code:

`nth-child(n+5)`

n+5 - styles are triggered from 4 elements  
n+4 - from 3,  
n+6 - from 5

Please check it and let me know how it works for you 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 20, 2025, 10:18am UTC](https://community.elfsight.com/t/shorter-duplicate-events-calendar/16127/6 "2025-02-20T10:18:46Z")

</div>

Split this topic on February 20, 2025, 10:18am UTC

A post was split to a new topic: [Use one widget with different settings and events displayed on multiple pages](https://community.elfsight.com/t/use-one-widget-with-different-settings-and-events-displayed-on-multiple-pages/102459)
