Jump to content

Calendar - Hide excerpt on mobile when visitor clicks calendar date (IE show event title only)

Recommended Posts

As stated in title, I'd like my visitor to only see the event title when they click(hover?) on the calendar date on mobile (my excerpts are long and overflow to other blocks. Desktop view looks fine. Looking for CSS.

Thank you in advance for any assistance.

preview.jpg

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Try adding this to Design > Custom CSS

/* Mobile calendar hide excerpt */
@media screen and (max-width:767px) {
	.yui3-squarespacecalendar .small-layout .flyoutitemlist {
		display: none !important;
}
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 weeks later...

Thanks @tuanphan, that seems to completely hide the title as well. However, I've gone with the solution of making the calendar only 6 wide (leaving a blank column on each side).  This causes only the titles to display and works for me even though the calendar is pretty small.

Thanks again!

preview.jpg

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.