Jump to content

WildGoose

Member
  • Posts

    19
  • Joined

  • Last visited

Reputation Activity

  1. Like
    WildGoose got a reaction from Beyondspace in Event Summary Block / Remove End Dates + End Times / Add Day of the Week to Start Dates   
    I'd like some help with how events are displayed in a summary block on my homepage.
    https://wildgoosenyc.com/
    Some events begin late-night, ending after midnight, technically the next day. I would like events in the summary block to list the start date and start time, but not the end date or end time.
    Separately, I would also like to list the day of the week.
     F  R  I  D  A  Y
    AUGUST 30th
          7:00pm
    Any help would be appreciated!
  2. Like
    WildGoose reacted to Lizxp in Space Above and Below Summary Blocks   
    Are they on different sections? If you can't amend this through the 'size and spacing' options, try looking into whether the section is toggled to 'fill screen'. If you turn this off it will reduce the padding
  3. Like
    WildGoose reacted to ehdavis09 in Push to Google Search Console   
    Is there a way to automatically have that feature enabled? It would be great to not have to manually toggle this on every time I create a blog post. Thanks!
  4. Love
    WildGoose got a reaction from Lesum in Events Summary Block - Remove End Dates + End Times   
    Epic - worked perfectly. Thank you!
  5. Like
    WildGoose reacted to Lesum in Events Summary Block - Remove End Dates + End Times   
    @WildGoose First off, you can hide the end date by setting the Secondary Metadata in your summary block settings to 'None'. See the screenshot for reference.
    I just wrote this code solution to hide the end date. Add this code by navigating to Website > Pages > Website Tools > Code Injection > Header:
    <script> document.addEventListener("DOMContentLoaded", function() { const eventDate = document.querySelectorAll('time.summary-metadata-item.summary-metadata-item--date'); eventDate.forEach(element => { const dateText = element.innerHTML; const endDateIndex = dateText.indexOf('–'); if (endDateIndex !== -1) { element.innerHTML = dateText.substring(0, endDateIndex).trim(); } }); }); </script>  

×
×
  • 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.