Jump to content

Caue

Member
  • Posts

    90
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Caue

  1. As many have said, there is actually a third reason... But, on top of that, your reasoning for "not worrying" about the second reason is terrible. Backing up anything other than videos can never be enough. The more redundancy, the better! You really should add a true backup strategy for that alone.

  2. I found the answer here and there .

    Just embed it as you normally would then add this to the page advanced settings or as a new block of code:

    
    
    <style>
    @media (max-width: 550px) {
       .big-container {
           display: none;
       }
    }
    @media (min-width: 550px) {
       .small-container {
           display: none;
       }
    }
    /* Responsive iFrame */
    .responsive-iframe-container {
       position: relative;
       padding-bottom: 56.25%;
       padding-top: 30px;
       height: 0;
       overflow: hidden;
    }
    .responsive-iframe-container iframe,   
    .vresponsive-iframe-container object,  
    .vresponsive-iframe-container embed {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
    }
    </style>
    
    

    Customize the 550px at your will.

    Make 2 embedded codes, one for small-container and one for the big.

    Then simply wrap your embedded ìframe with this:

    
    
    <div class="responsive-iframe-container big-container">
    </div>
    
    

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