Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

creedon

Circle Member
  • Posts

    3,454
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by creedon

  1. I have updated my cited code. There was an issue with the last update. My bad. I rolled back to the grid based code but tried to enhance the code to better play mobile and with user text alignment settings. It is by no means perfect. It's the nature of the beast.

    For the more technically minded. Don't move the add to cart button around. Within the same container/parent seems to be OK but moving it into a child element, makes your page unhappy and breaks the atcb. I didn't do an exhaustive¬†dive into the issue but it appears that the atcb is checking variants data, makes sense because when you select a variant the variant node gets updated with the selection. Breaking that sibling relationship makes the whole family sad! ūüôā

  2. @jaiabird

    +1 for Handbrake. I've used that app and it works well.

    Also if you can handle hard core command line Un*x tools then you can install ffmpeg on macOS. Don't know about that on Windows. Lots of examples on the web for various conversions with ffmpeg. I used MacPorts to install ffmpeg on my Mac. MacPorts is also fantastic by the way. I use ffmpeg to convert my QuickTime screen recording .mov files to .mp4. for a substantial reduction.

  3. @DonnaMartinek @zora

    Please post the URL for a page on your site where we can see your issue.

    If your site is not public please set up a site-wide password, if you've not already done so.

    Post the password here.

    Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

    Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

    We can then take a look at your issue.

  4. Did Google, or any search engine, really at one point actually penalize for multiple h1s?

    When I hear this I think they must be (have been) nuts.

    There must be tons of pages that use h1-6 as styling for outline like data.

    Heading

      Sub-heading

        Some text here.

    Heading

      Sub-heading

        Some text here.

    etc. etc.

    And then what about sites like SS sites that have a desktop and mobile version of elements. Each of those device types can use h1 for their particular presentation style.

    It just seems madness that any search engine designer would come up with an only one h1 rule to begin with.

  5. Here is some code to alter the structure of the page. As to whether this code will help or not I do not know. In other words. The code can make the change but if the change is effective, who knows?

    Add the following to Settings > Advanced > Code Injection > HEADER. You don't need to install the jQuery line as that is already done on your clients site. That line is for others following along.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    
    <script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d15/twcsl.js"></script>

    Add the following to Store Settings > Advanced > Page Header Code Injection for the store page.

    <script>
    
      $( ( ) => {
      
        /*
        
          store product detail logo class replace tag
          
          Version       : 0.1d0
          
          SS Version    : 7.0
          
          v7.0 Template : Avenue
          
          Dependancies  : jQuery
                          
                          twcsl
          
          Note          : the replacement element is not a deep copy
          
          By            : Thomas Creedon < http://www.tomsWeb.consulting/ >
          
          */
          
        const tagName = 'h2';
        
        // do not change anything below, there be the borg here
        
        if ( ! twcsl.storePage.isDetail ) return; // bail if not detail
        
        const attributes = { };
        
        const $element = $( '.logo' );
        
        $.each ( $element [ 0 ].attributes, function ( i, attribute ) {
        
          if ( attribute.nodeName == 'id' ) return;
          
          attributes [ attribute.nodeName ] = attribute.nodeValue;
          
          } );
          
        $element.replaceWith ( function ( ) {
        
          const $contents = $element.contents ( );
          
          const $newElement = $( `<${ tagName }>`, attributes )
          
            .append ( $contents );
            
          return $newElement;
          
          } );
          
        } );
        
      </script>

    Let us know how it goes.

  6. @Joaoblee

    Please post the URL for a page on your site where we can see your issue.

    If your site is not public please set up a site-wide password, if you've not already done so.

    Post the password here.

    Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

    Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

    We can then take a look at your issue.

  7. @Danielabjo

    Add the following to Design > Custom CSS.

    /* action paintball haunted forest min height unset */
    
    [data-section-id="[enter data section id here between double quotes]"] .portfolio-hover-display {
    
      min-height : unset;
      
      }

    This if for a v7.1 site.

     

    Enter your data section id and the url for the background image you want to use. Your data section id currently is 60461cd5d9da126db7cb111b.

    To get the data section id check out Heather Tovey's most excellent looking Squarespace ID Finder.

    Let us know how it goes.

  8. Add the following to Design > Custom CSS.

    /* background image for gallery */
    
    [data-section-id="[enter data section id here between double quotes]" .section-background {
    
      background-image : url([enter image url here between parenthesis]);
      background-position : center;
      background-size : cover;
      
      }

    This is for a v7.1 site.

    Enter your data section id and the url for the background image you want to use. Your data section id currently is 6142316ab17d182a030e46e9.

    To get the data section id check out Heather Tovey's most excellent looking Squarespace ID Finder.

    Let us know how it goes.

  9. 3 hours ago, ChristineDarby said:

    It does seem strange to remove the easy-to-use and popular functionality.

    I don't speak for SS but here is my guess. Unless the documentation said it was a feature to enter HTML in a field then it was a bug as far as SS is concerned. So they fixed the bug and removed what wasn't a feature but a loophole that people took advantage of.

    If you want the same end behaviour then you'll need to use one of the methods mentioned above.

√ó
√ó
  • Create New...