Jump to content

How can I add "Past Events" text above past events on the events listing page?

Recommended Posts

Site URL: https://www.bigmarinelakeassociation.org/events

The Events Listing template currently displays / separates PAST Event listings under a barely noticeable grey line. It's confusing the hell out of my customer's site users. 

They want to display the past events. 

Is it possible to add text or a custom banner above the Past Event listings to help users identify these listings? I've found references for doing this using older templates, but the code does not apply to the new system template. Can anyone help me out here?

Link to comment
39 minutes ago, OddBurton said:

Site URL: https://www.bigmarinelakeassociation.org/events

The Events Listing template currently displays / separates PAST Event listings under a barely noticeable grey line. It's confusing the hell out of my customer's site users. 

They want to display the past events. 

Is it possible to add text or a custom banner above the Past Event listings to help users identify these listings? I've found references for doing this using older templates, but the code does not apply to the new system template. Can anyone help me out here?

Do you mean something like this?

image.thumb.png.c3d0acdb7fc863880c8fb342cf59d500.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 2/22/2022 at 11:56 AM, OddBurton said:

Site URL: https://www.bigmarinelakeassociation.org/events

The Events Listing template currently displays / separates PAST Event listings under a barely noticeable grey line. It's confusing the hell out of my customer's site users. 

They want to display the past events. 

Is it possible to add text or a custom banner above the Past Event listings to help users identify these listings? I've found references for doing this using older templates, but the code does not apply to the new system template. Can anyone help me out here?

Add this to Design > Custom CSS. It will add text "past event" on top of past events on listing page

.eventlist.eventlist--past:before {
    content: "Past Event";
    display: block;
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
}

 

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 4/15/2023 at 12:32 AM, scdesign said:

I know this is an old topic, but is there a way to style the text using my H3 style?

Yes. If you share link to a page where you use heading 3, we can check h3 style & add to code easier

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
  • 10 months later...
On 2/29/2024 at 12:57 AM, mrawatanderson said:

@tuanphan stumbled across this and the code is very helpful. I'm wondering if it's possible to add a colored background to the "Past Events" text that would further differentiate the current events from the past events.

You can adjust the code

.eventlist.eventlist--past:before {
    content: "Past Event";
    display: block;
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
	background-color: #f1f;
	padding: 10px 20px;
	color: #fff;
}

 

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

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.