Jump to content

karan

Circle Member
  • Posts

    32
  • Joined

  • Last visited

Community Answers

  1. karan's post in Video won't play automatically on the landing-page was marked as the answer   
    @bhua_2022 
    You have to update your code.
    First add id in video tag like this
    <video id="logovideo" playsinline webkit-playsinline loop muted autoplay src="https://static1.squarespace.com/static/5845886620099e10cb851e10/t/66696e95624a89301ee59d03/1718185622431/01_BHUA+Landingspage+Collapsed+ending.mp4"></video> and add code as JavaScript to hide video after video ended.
     
    <script> document.addEventListener('DOMContentLoaded', function() { var video = document.getElementById('logovideo'); video.addEventListener('ended', function() { video.style.display = 'none'; }); }); </script>  
  2. karan's post in Custom CSS for nav bar stopped working was marked as the answer   
    Hi @Juisafish ,

    @tuanphan  wants to tell you that you have copy "custom-css" which you have added in custom panel of site which can be located in https://fanny-lelorrain.squarespace.com/config/pages/website-tools/custom-css page.

    Also I can see there is typo error code in custom css. Look for code 
    content: “+“; and replace it with 
     
    content: "+"  
  3. karan's post in Custom code not working for folder within header was marked as the answer   
    Add to Design > Custom CSS
    div.header-nav-item--active a + div>div.header-nav-folder-item--active .header-nav-folder-item-content { background: none; }  
×
×
  • 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.