Jump to content

Kacia

Member
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Kacia

  1. Site URL: https://vibraphone-dove-dpfn.squarespace.com/

    Hi everyone,

    I'm sooo close to finishing my site! I'm blown away by the level of help to be found in this forum. Thanks all!

    I'd like to show the day of the week for my events (pulling from an Events page into a summary block, seen here: https://vibraphone-dove-dpfn.squarespace.com/calendar. It seems tight to squeeze it into the date block on the thumbnail, but perhaps it could be displayed as metadata somehow?

    Thanks! Password to my site is He@1ing.

    Kacia

  2. On 10/12/2020 at 9:25 AM, GeorgeCrane said:

    This may not work in all cases, but it seems to work for me in a 7.1 events summary list pages.  Add the following code on the summary list page.   It will add a "Read More ->" link following the excerpt.   Please add improvements or corrections.  -George

    <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script>
    $( document ).ready(function() {
        $('.summary-item-list .summary-item')
            .each(function() {
                var href = $(this)
                    .find('.summary-content .summary-title a').attr('href');
                var read = '<!-- Read More Link -->' +
                    '<a href="' + href +
                    '" class="summary-read-more-link">Read More &#8594;</a>';
                $(this).find('.summary-excerpt').after(read);
        })
    });
     </script>
    <style>
    .sqs-block-summary-v2 .summary-read-more-link {
       display: block;
      }
    </style>

    GeorgeCrane, do you add this in the Page Header Code Injection for the Events page itself? Or do you add it in Custom CSS for the whole site?

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