Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Calendar hover: how to change direction of pop-up links


Question

Site URL: https://www.throughthenoise.co.uk/things-to-go-to

Site URL: https://www.throughthenoise.co.uk/things-to-go-to

Hi all,

Is there a way to force the calendar to preview all the hover links downwards? 

At the moment, when you click the calendar on mobile when there are multiple events in the later weeks of the month, and the hover preview shows up, it cuts off into the header - making it both unreadable and unclickable. 

See images attached: the May events (as they're later in the month) preview upwards, whilst the June events preview downwards. I'd like all events to do the latter to mitigate the cut-off issue.

Thanks in advance!

IMG_3792.PNG

IMG_3793.PNG

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Site URL: https://www.throughthenoise.co.uk/things-to-go-to Site URL: https://www.throughthenoise.co.uk/things-to-go-to Hi all, Is there a way to force the calendar to preview all the hove

this will force all event popup to display under the cell .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(4) .flyoutitemlist, .yui3-squarespacecalendar .

Posted Images

2 answers to this question

Recommended Posts

  • 0
On 5/7/2021 at 8:57 PM, throughthenoise said:

Site URL: https://www.throughthenoise.co.uk/things-to-go-to

Site URL: https://www.throughthenoise.co.uk/things-to-go-to

Hi all,

Is there a way to force the calendar to preview all the hover links downwards? 

At the moment, when you click the calendar on mobile when there are multiple events in the later weeks of the month, and the hover preview shows up, it cuts off into the header - making it both unreadable and unclickable. 

See images attached: the May events (as they're later in the month) preview upwards, whilst the June events preview downwards. I'd like all events to do the latter to mitigate the cut-off issue.

Thanks in advance!

IMG_3792.PNG

IMG_3793.PNG

this will force all event popup to display under the cell

.yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(4) .flyoutitemlist, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(5) .flyoutitemlist, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(6) .flyoutitemlist {
    bottom: auto;
    top: 100%;
    border-bottom: none;
    border-top: 8px solid transparent;
}
.yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(4) .flyoutitemlist:before, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(5) .flyoutitemlist:before, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(6) .flyoutitemlist:before {
    bottom: auto;
    top: -6px;
    border-top: 0;
    border-bottom: 6px solid #ddd;
}

image.png.831c381e8f3c5d3e428b1847d7bb2fc3.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0
9 hours ago, bangank36 said:

this will force all event popup to display under the cell


.yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(4) .flyoutitemlist, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(5) .flyoutitemlist, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(6) .flyoutitemlist {
    bottom: auto;
    top: 100%;
    border-bottom: none;
    border-top: 8px solid transparent;
}
.yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(4) .flyoutitemlist:before, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(5) .flyoutitemlist:before, .yui3-squarespacecalendar .compact-layout .yui3-calendar-grid .yui3-calendar-row:nth-child(6) .flyoutitemlist:before {
    bottom: auto;
    top: -6px;
    border-top: 0;
    border-bottom: 6px solid #ddd;
}

image.png.831c381e8f3c5d3e428b1847d7bb2fc3.png

Perfect - thank you so much!

One more thing:

On most desktops, and mobile, the calendar appears as above: with coloured boxes for dates with events etc. However, it seems on very wide-screen desktops, its style changes - the boxes are changed so that they include the event's main image.

Is there any way to make sure that it is always in the style as above? The calendar appears on both the home page, and the 'things to go to' page.

Thanks again!

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...