Jump to content

AngieRoxyE

Circle Member
  • Posts

    58
  • Joined

  • Last visited

Posts posted by AngieRoxyE

  1. On 7/13/2021 at 9:58 PM, tuanphan said:

    Add to Code Injection Footer

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
    
      $( ( ) => {
      
        /*
        
          auto click user items list arrow right
          
          Version       : 0.1d0
          
          SS Version    : 7.1
          
          Dependancies  : jQuery
          
          Note          : this effect is not active in SS Preview to test it use
                          private browsing < https://bit.ly/3f6lhq2 >.
          
          By            : Thomas Creedon < http://www.tomsWeb.consulting/ >
          
          */
          
        const clickIntervalSeconds = 6;
        
        const dataSectionIds = [
        
          /*
          
            to limit the effect to certain page sections, enter data section ids for
            each page section.
            
            the format of each line is a data section id
            
            following is an example line. copy the example line below and paste
            after the example line. remove '// ' at beginning of pasted line. repeat
            for as many data sections ids as needed
            
            */
            
          // '[enter data section id here between single quotes]',
          
          ];
          
        // do not change anything below, there be the borg here
        
        if ( window.frameElement !== null ) return; // bail if in Preview
        
        let selector = [
        
          '.user-items-list-banner-slideshow__arrow-button--right',
          
          '.user-items-list-carousel__arrow-button--right',
          
          ];
          
        // begin shotgun selector
        
          if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
          
          selector = $.map ( selector, function ( s, i ) {
          
            if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
            
            const a = $.map ( dataSectionIds, function ( d, i ) {
            
              if ( d ) d = '[data-section-id="' + d + '"] ';
              
              return d + s;
              
              } )
              
            return a;
            
            } )
            
            .join ( ', ' );
            
          // end shotgun selector
        
        const $button = $( selector );
        
        if ( ! $button.length ) return; // bail if no button
        
        const click = ( ) => {
        
          $button.click ( );
          
          }
          
        setInterval ( click, clickIntervalSeconds * 1000 );
        
        } );
        
      </script>

     

    @tuanphan I added this with the section ID but its not working for me. Did I do it wrong? (you are an admin on this site btw 🙂

    https://chameleon-tambourine-hd67.squarespace.com

    /*
        
          auto click user items list arrow right
          
          Version       : 0.1d0
          
          SS Version    : 7.1
          
          Dependancies  : jQuery
          
          Note          : this effect is not active in SS Preview to test it use
                          private browsing < https://bit.ly/3f6lhq2 >.
          
          By            : Thomas Creedon < http://www.tomsWeb.consulting/ >
          
          */
          
        const clickIntervalSeconds = 6;
        
        const dataSectionIds = [
          
          // '[data-section-id="615dfcb5a76ca6638a8b6619"]',
          
          ];
          
        // do not change anything below, there be the borg here
        
        if ( window.frameElement !== null ) return; // bail if in Preview
        
        let selector = [
        
          '.user-items-list-banner-slideshow__arrow-button--right',
          
          '.user-items-list-carousel__arrow-button--right',
          
          ];
          
        // begin shotgun selector
        
          if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
          
          selector = $.map ( selector, function ( s, i ) {
          
            if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
            
            const a = $.map ( dataSectionIds, function ( d, i ) {
            
              if ( d ) d = '[data-section-id="' + d + '"] ';
              
              return d + s;
              
              } )
              
            return a;
            
            } )
            
            .join ( ', ' );
            
          // end shotgun selector
        
        const $button = $( selector );
        
        if ( ! $button.length ) return; // bail if no button
        
        const click = ( ) => {
        
          $button.click ( );
          
          }
          
        setInterval ( click, clickIntervalSeconds * 1000 );
        
        } );
        
      </script>

  2. @tuanphan I tried this but its not working on mine. On a mobile deivce the logo is still huge....

    I put this in based on the below...

     

    div#block-yui_3_17_2_1_1621874848761_8731 img {
        position: fixed;
        top: 20%;
        right: 0;
        width: 50px;
    }

    https://ferret-octagon-c2hw.squarespace.com

     

    On 9/23/2019 at 5:27 AM, tuanphan said:

    @_Courtney Add to Home > Design > Custom CSS

    
     
    
    div#block-4d7b284ccdced9875689 p:after {
       content: "";
       display: block;
       background-image: url(https://static1.squarespace.com/static/5d817ec…/t/5d81a0d…/1568776405451/LOGO-MAKERSMARK.png);
       background-size: contain;
       width: 50px;
       height: 50px;
       margin: 0 auto;
       margin-top: 40px;
    }
    
    
    
     

     

     

    Screen Shot 2021-05-27 at 3.22.02 PM.png

  3. On 4/26/2020 at 5:05 PM, trixiefilms said:

    Have to share raves for the Squarespace Websites Tools Extension, which someone recommended on another thread here. Moving a large blog from one SS7 site to another took less than 1/2 hour with no problems at all. Worth the $50 price (but shame on SS for not having this feature built in.) 

    https://www.squarewebsites.org/squarespacewebsites-tools-extension

    That is good to know. I had to go in and add the images to all 300 posts still unfortunately. 

  4. On 3/29/2020 at 2:08 PM, trixiefilms said:

    I am having the same issues - trying to move a blog from one of my Squarespace 7 sites to another Squarespace 7 sites. Has anyone had success importing to an actual Wordpress page and then exporting from there (as opposed to creating the xml but not putting onto Wordpress first)

    @trixiefilms I just did it and it worked. Took forever and there's formatting that has to be fixed, but its better than having to go through and do it manually 400x in my case. 

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