Nondys Posted July 24, 2021 Share 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 Link to comment
Solution paul2009 Posted July 24, 2021 Solution Share 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; } 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
Nondys Posted July 25, 2021 Author Share 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 Link to comment
paul2009 Posted July 25, 2021 Share 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/. 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
kyliebourjaily Posted August 23, 2022 Share 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 Link to comment
tuanphan Posted August 25, 2022 Share 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 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment