Jump to content

dotandpeg

Circle Member
  • Posts

    66
  • Joined

  • Last visited

Community Answers

  1. dotandpeg's post in Video not looping was marked as the answer   
    Hi @Ziggy,
    I've found the issue as I realised none of my videos are looping. I added the below code to my sites' footer injection as I only wanted the homepage video on desktop and mobile to loop once but it was affecting everything.

    I have moved the code to my homepage advanced settings and this has fixed the issue.

    Thanks

    <!-- LOOP VIDEO ONCE HOMEPAGE-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
    <script>
    jQuery(document).ready(function($){    
      setTimeout( function() {
             $('video').removeAttr('loop');
        }, 5000);
      
      
    });
    </script>
    <!-- LOOP VIDEO ONCE HOMEPAGE-->
  2. dotandpeg's post in How to resize Markdown font size for mobile was marked as the answer   
    I've done it!
    #block-yui_3_17_2_1_1708079475938_17513 h1,
    {
      font-family: "Libre Baskerville";
    }
    Thanks
  3. dotandpeg's post in Hiding price on two product blocks, not sitewide was marked as the answer   
    Please ignore this question. It's really easy, just turn it off in the design settings!
    https://share.squarespace.com/GGu5drRY
×
×
  • 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.