Jump to content

Remove previous and next arrows on individual events page

Recommended Posts

Site URL: https://www.regionalarchitecture.net.au/raa-events/bundanon-beyond

Hi,

I would like to remove the arrows below every individual events page that allow visitors to click through the previous and next event. The reason for this is that we use summary blocks to filter events for different audiences with some behind a membership paywall, however the individual event pages then allow users to click through events that were filtered out in the summary itself.

Thank you.

 

image.thumb.png.70e91b9ed24fe8c862b99927d6673891.png

Link to comment

I think your code, will hide all pagination on event page, blog page, portfolio page, you can try this code for event page only

.item-pagination[data-collection-type^="events"], .item-pagination[data-collection-type^="events"] {
    display: none;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...
On 2/19/2022 at 6:33 AM, tuanphan said:

I think your code, will hide all pagination on event page, blog page, portfolio page, you can try this code for event page only

.item-pagination[data-collection-type^="events"], .item-pagination[data-collection-type^="events"] {
    display: none;
}

 

Very true @tuanphan, your CSS code above does the trick. But, I have multiple event pages, so how do I specify the code to only hide pagination one of them? I have tried with section-id (below), but that does not work.

//HIDE PAGINATION
[data-section-id="64b5aebc0d0fbb23fbd9176a"]
.item-pagination {
   display: none !important;
}

 

Link to comment
1 hour ago, JesperZ said:

Very true @tuanphan, your CSS code above does the trick. But, I have multiple event pages, so how do I specify the code to only hide pagination one of them? I have tried with section-id (below), but that does not work.

//HIDE PAGINATION
[data-section-id="64b5aebc0d0fbb23fbd9176a"]
.item-pagination {
   display: none !important;
}

 

Do you use Personal or Business Plan? If Business, just wrap code in style tag

Quote

<style>

paste code here

</style>

then add to Page Header

If Personal/Basic Plan, please share link to that page, I can do a quick guide

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
45 minutes ago, tuanphan said:

Do you use Personal or Business Plan? If Business, just wrap code in style tag

then add to Page Header

If Personal/Basic Plan, please share link to that page, I can do a quick guide

Great, that works for sure 😄
I put the following in the Event Page Header Code Injection:

<style>
.item-pagination * {
   display: none !important;
}
</style>

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.