RAA Posted February 14, 2022 Posted February 14, 2022 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.
RAA Posted February 14, 2022 Author Posted February 14, 2022 I just solved my own problem by remembering to look up the item through Chrome's inspector and worked out the CSS. In case anyone else needs this: .item-pagination { display: none; } jallory 1
tuanphan Posted February 19, 2022 Posted February 19, 2022 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; } jallory 1 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!)
JesperZ Posted July 25, 2023 Posted July 25, 2023 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; }
tuanphan Posted July 25, 2023 Posted July 25, 2023 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!)
JesperZ Posted July 25, 2023 Posted July 25, 2023 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> tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment