Jump to content

How to Hide Time on the Pop Up of an Event Calendar

Go to solution Solved by paul2009,

Recommended Posts

Posted

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!

Screen Shot 2021-07-23 at 10.25.15 PM.png

  • Solution
Posted
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;
}

 

RdBb37NPyU.thumb.gif.54c5d4449c2e756b38098cc942906926.gif

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.

Posted (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 by Nondys
Posted
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:

  1. Right click the element to Inspect it. The element will be highlighted in the DOM Tree.
  2. You'll usually need to navigate up the DOM Tree a little at this point to identify the correct element that has the pseudostate.
  3. In the Styles tab, click :hov.
  4. Check the :hover checkbox. You'll see the event 'flyout' appear even though you re not hovering over the element.
  5. You can now find the elements that were previously hidden.

Here's a quick screencast:

invoke-hover-pseudostate-on-calendar.thumb.gif.ca9f3fc7118b99200287891c4348cdb8.gif

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.

  • 1 year later...
Posted (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 by kyliebourjaily
Posted
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!)

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.