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  ↘️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.