Jump to content

How do I add a secondary title (subtitle) not an excerpt to the list of Calendar Events?

Recommended Posts

  • Replies 7
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 weeks later...
  • 5 months later...
20 hours ago, JCrid said:

What I would like to do is include the subtitle beneath the main title text, and I can't work out how to do that just by editing the event (see image).

Here is a URL to the page: https://www.treehealthcentre.org/course-calendar

THC Event.png

Edit title to this, then we will test some java code to break #text to new line with different style

Title #Sub title

If you don't want this way, we can add sub title manually with custom CSS. Something like this (Add to Design > Custom CSS)

/* first event */
.eventlist-title-link[href*="pests-and-diseases-for-professionals"]:after {
    content: "subtitle test 1";
    display: block;
    font-size: 20px;
    color: red;
}
/* second event */
.eventlist-title-link[href*="introduction-to-tree-problems"]:after {
    content: "subtitle 2";
    display: block;
    font-size: 20px;
    color: red;
}

 

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.