Nondys Posted July 24, 2021 Posted July 24, 2021 Site URL: https://www.moffittsmermaids.com/packages Hello! I was hoping someone would be able to help me disable the time on an event calendar on hover? I was able to hide the time on the calendar but when you hover over the date it still shows up. I'm not sure how to find the right code when I inspect the page since when I hover over the event day the inspect tool doesn't really work... not on hover anyway. Here is an image of my calendar now. How do I hide the time of ALL events on Hover? You can view this page at moffittsmermaids.com/packages Thank you so much! kyliebourjaily 1
Solution paul2009 Posted July 24, 2021 Solution Posted July 24, 2021 1 hour ago, Nondys said: I was hoping someone would be able to help me disable the time on an event calendar on hover? Use this in Custom CSS: .yui3-squarespacecalendar .flyoutitem .flyoutitem-datetime--12hr { display: none; } 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.
Nondys Posted July 25, 2021 Author Posted July 25, 2021 (edited) @paul2009 It worked! I think I love you hahahahahaha. Yeah that was tricky for me, I couldn't figure out how to locate the proper code if my mouse couldn't hover over the actual pop-up when I'm on the inspect tool. Any suggestions on how I could find it the way you did? I'd love to know this trick haha Edited July 25, 2021 by Nondys paul2009 1
paul2009 Posted July 25, 2021 Posted July 25, 2021 9 hours ago, Nondys said: Any suggestions on how I could find it the way you did? I'd love to know this trick haha Haha! 😊 No magic tricks required! As the calendar effect is triggered by a hover pseudostate (:hover) you simply need to toggle this using your favourite browser developer tool. For example, using Chrome: Right click the element to Inspect it. The element will be highlighted in the DOM Tree. You'll usually need to navigate up the DOM Tree a little at this point to identify the correct element that has the pseudostate. In the Styles tab, click :hov. Check the :hover checkbox. You'll see the event 'flyout' appear even though you re not hovering over the element. You can now find the elements that were previously hidden. Here's a quick screencast: I hope this helps. If anyone reading this wants to learn more about the features in Chrome DevTools, Google has a great series of guides here: https://developer.chrome.com/docs/devtools/overview/. 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.
kyliebourjaily Posted August 23, 2022 Posted August 23, 2022 (edited) Nondys -- how were able to hide the time on the calendar in general? Was it custom code or a setting in Squarespace? Trying to figure this out. Edited August 23, 2022 by kyliebourjaily
tuanphan Posted August 25, 2022 Posted August 25, 2022 On 8/23/2022 at 7:57 AM, kyliebourjaily said: Nondys -- how were able to hide the time on the calendar in general? Was it custom code or a setting in Squarespace? Trying to figure this out. Need to use custom code. If you share link to page where you use calendar, we can check & give you code 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment