Importing images from Squarespace
-
Hello! I’m in the process of porting my site and domain from Squarespace to a Bluehost-hosted WordPress installation using the Minimalist Blogger theme. All of my work made it over fairly easily, but I am having an awful time with the images, which are all padded with absurd amounts of whitespace.
The culprit seems to be a codeblock called
.sqs-block
. I’ve found that I can edit the block and remove the padding manually, but seeing as I have ~500 posts and pages, this will be many days of work that I am sure there is a way to avoid.I’ve tried to override the settings in the codeblock using custom CSS that seems to have worked for some folks, but not for me:
.sqs-block.image-block { padding: 0px !important; } .sqs-block.sqs-image-shape-container-element { padding-bottom: 0px !important; }
The relevant section of code in the codeblock is:
" style="position: relative; padding-bottom: 133.43023681640625%; overflow: hidden;"
The 133.4…% padding goes away if I set it to 0, but, like I said, doing this on a block-by-block, post-by-post basis will be kind of awful Does anyone know of a way to sort this all at once?
Also, If this is the wrong forum, please let me know and I’ll be happy to move it.
Thank you,
Ridley
P.S. Here’s the entire codeblock if anyone is interested:
<div class=" image-block-outer-wrapper layout-caption-below design-layout-inline combination-animation-none individual-animation-none individual-text-animation-none " data-test="image-block-inline-outer-wrapper"> <p> </p> <figure class=" sqs-block-image-figure intrinsic " style="max-width: 688px;"> <p> </p> <div class="image-block-wrapper" data-animation-role="image"> <p> </p> <div class="sqs-image-shape-container-element has-aspect-ratio " style="position: relative; padding-bottom: 133.43023681640625%; overflow: hidden;"><br><noscript>&lt;img src="https://box5402.temp.domains/~ridleyke/wp-content/uploads/2022/06/PXL_20220429_175433374.jpg" alt="Small snail on a big leaf of lettuce in the garden." /&gt;</noscript><img class="thumb-image" src="https://box5402.temp.domains/~ridleyke/wp-content/uploads/2022/06/PXL_20220429_175433374.jpg" alt="Small snail on a big leaf of lettuce in the garden." data-image="https://box5402.temp.domains/~ridleyke/wp-content/uploads/2022/06/PXL_20220429_175433374.jpg" data-image-dimensions="688x918" data-image-focal-point="0.5,0.5" data-load="false" data-image-id="62704dde8014d72139312abe" data-type="image"></div> <p> </p> </div> <figcaption class="image-caption-wrapper"> <div class="image-caption"> <p class="" style="white-space: pre-wrap;"><em>Nicole planed a garden to provide a home for the baby snails we have in our tank that we can’t keep. Here’s the first one we saw on a big piece of leaf of lettuce in the middle of the garden.</em></p> </div> </figcaption> </figure> <p> </p> </div>
- This topic was modified 2 years, 9 months ago by . Reason: Moved to Fixing WordPress from Everything else WordPress
The page I need help with: [log in to see the link]
- The topic ‘Importing images from Squarespace’ is closed to new replies.