hlzcp Posted December 30, 2020 Share Posted December 30, 2020 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! Link to comment
paul2009 Posted December 30, 2020 Share Posted December 30, 2020 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 ↘️ hlzcp 1 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
hlzcp Posted December 30, 2020 Author Share Posted December 30, 2020 You are the BEST! Thank you so much! Worked perfectly... Link to comment
buzz123 Posted October 20, 2023 Share Posted October 20, 2023 This code is great! @paul2009 Is there a way to still make the calendar clickable, but to still have the hover effect removed? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment