Jump to content

How can I stop calendar from displaying an event box on hover?

Recommended Posts

Site URL: https://bamboo-lime-face.squarespace.com/

Hi all! Would love some help. I have a rental website and I am showing what dates are available / unavailable with colour coordinating (grey - available; dark green - unavailable). I therefore don't want the fly-out box to appear on hover, as it won't contain any information.

is there any nifty code to hide the white flyout / pop up box?

 

In the image below, my mouse is hovering over the number 14

 

thanks!

 

image.thumb.png.209aa5760f5b359bc77afa849853c94d.png

 

Link to comment
11 minutes ago, hlzcp said:

I don't want the fly-out box to appear on hover. Is there any nifty code to hide the white flyout / pop up box?

Yes 😀

To prevent this on all calendars on the site, add the following to Design > Custom CSS:

.yui3-calendar-grid {
  pointer-events: none;
}

Notes:
This affects the Calendar Block on any template or version. It works by preventing mouse movements ("pointer events") from reaching the "grid" area of the calendar. The top of the calendar is still clickable, allowing users to navigate between months.

   If a post helps you, please click a "Like" option below  ↘️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 2 years later...

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.