-
Posts
52 -
Joined
-
Last visited
cro0w's Achievements
-
Beyondspace reacted to a post in a topic: Summary, Related and Video Blocks - Letterbox and Thumbnail Problems
-
Beyondspace reacted to a post in a topic: Summary, Related and Video Blocks - Letterbox and Thumbnail Problems
-
Theresamo reacted to a post in a topic: change logo and shrink it on scroll
-
cro0w changed their profile photo
-
Definitely try ChatGTP to get the right code, it does wonders if you give it all the information. I have gotten my sites to look how I want without relying on a programmer AND I've increased my skills in coding cus ChatGTP is fast and nice in explaining things.
-
79$ for a bit of code! Yikes! Try this: /* Shrinking Logo On Scroll - 7.1 */ .header.shrink img { max-width: 120px; /* Adjust the max width as needed */ transition: all 0.2s ease-in-out; } .header img { transition: all 0.2s ease-in-out; } /* Second logo styling */ .second-logo { display: none; /* Initially hide the second logo */ max-width: 120px; /* Adjust the max width as needed */ transition: all 0.2s ease-in-out; } /* Show second logo on scroll and align left */ body:not(.homepage) .second-logo { display: block; float: left; /* Align left */ } /* Trigger effect at the start of the second page section */ body:not(.homepage) .header.shrink .second-logo { opacity: 1; /* Adjust opacity or other styles as needed */ } PRO Tip: Use ChatGTP to 1 work out the quirks. Hope it helps. Stay creative!
-
cro0w reacted to a post in a topic: Is Google Fonts ( and Maps) violating European GDPR? / How to install a custom Font with Squarespace ...
-
Mobile Summary Carousel One Item Per Slide
cro0w replied to JamIsJam88's topic in Customize with code
I fixed it by adding width: 101%- 1 reply
-
- summary-block
- blog-page
-
(and 2 more)
Tagged with:
-
Summary, Related and Video Blocks - Letterbox and Thumbnail Problems
cro0w replied to cro0w's topic in Customize with code
Once again this forum proves to no be super helpful for me, I've posted many times I never get help and come back to figure it out. For those of you with the same problem that Squarespaces causes when using YouTube Embeds on their site, specifically with loading them on the video library for Squarespace 7.1. I assume they do this cus they want you to upload your own videos and then have to pay them more, ridiculous! Here's all the codes to fix what I needed from my original post. You can clean up anything else. /* Recommended Thumbnails */ .lessons-item-related-wrapper .lessons-item-related-item-list .related-item .related-item-link-thumbnail { height: auto; } .lessons-item-related-wrapper .lessons-item-related-item-list .related-item img.related-item-thumbnail { border-radius: 15px; aspect-ratio: 16/9 !important; } /* Hover mode */ .lesson-item .related-item { transition: transform 0.3s ease-out; /* Initial transition for smoother return */ } .lesson-item .related-item:hover { transform: translateY(-10px); transition: transform 0.3s ease-in-out; /* Transition on hover with ease-in-out for smooth effect */ } /* Summary Thumbnails */ .sqs-block-summary-v2 .summary-thumbnail-container img.loaded { border-radius: 15px; aspect-ratio: 16/9; object-fit: cover; } /* Video Library Thumbnails */ .lessons.collection-content-wrapper .grid-image-wrapper { padding-bottom: 56.25%; } .grid-image { border-radius: 15px; } I hope this helps someone else get rid of the black bars on YouTube thumbnails.- 4 replies
-
- summary-block
- video
-
(and 1 more)
Tagged with:
-
Need help removing letterboxing on Youtube video thumbnails.
cro0w replied to MattMurphy's topic in Customize with code
Can you help me with a similar problem but different class? -
Video Page -- Get rid of black bars on YouTube video thumbnail
cro0w replied to LHH333's topic in Images & Videos
"you try checking video to see if any settings to set custom thumbnail?" what does that mean? -
Can you help me? I have the same problem I made a new post with more detail:
-
Hello, When taking advantage of summary blocks, related videos, and video library features, there's a big and sad bug that Squarespace doesn't seem interested in fixing. Let's start with the video library. https://vivsharon.squarespace.com/video-testimonials PW: 123 1. If you choose to take advantage of this feature, if you plan on embedding YouTube videos, be ready to hate your life. This will be the result, and no, you can't have custom thumbnails, on embeds, why? IDFK either?! Solution? Code. Not sure how to give them rounded corners. // Video Page Thumbnails .lessons.collection-content-wrapper .grid-image-wrapper { padding-bottom: 56.25%; } but it doesn't stop there. Let's move on to Summary blocks (Carousel). You guessed it right! Broken. 2. How can we resolve this situation? Not sure, I was able to give them a rounded borders tho. // Summary Block Thumbnails .summary-thumbnail-image { border-radius: 15px; overflow: hidden; } 3. Next problem, related videos, and yes, you guessed it right, broken. Not sure, but we gave them also rounded corners. // Recommended Thumbnails .lessons-item-related-wrapper .lessons-item-related-item-list .related-item img.related-item-thumbnail { border-radius: 15px; } Does anyone know how to solve this issue with the letterbox on videos being recommended or pulled through summary blocks?
- 4 replies
-
- summary-block
- video
-
(and 1 more)
Tagged with:
-
I ended up figuring out a method to get a button to to what I want. Felt kind of dumb once I came up with the solution. To be able to get a semi-custom experience when creating digital products pages and working on the blocks themselves, I found Squarespace's blocks to restrictive so making them from scratch made sense. Then I added a code block made my button, inspected my own website and copy pasted my own instructions. The button has the same functionally tied to the membership/digital products. <button class="sqs-editable-button join-button sqs-button-element--primary " onclick="UserAccountApi.joinPricingPlan('9cb84188-461b-4602-97a5-42c879f31a37', '9ddb2a9a-9db9-4472-8c0a-f683e030d0c4', '', false, 'MEMBER_AREA_BLOCK', {"pricingPlanId":"9cb84188-461b-4602-97a5-42c879f31a37","alignment":"left","showTitle":true,"showDescription":true,"showPrice":true,"showJoinButton":true,"showBenefits":true,"joinButtonText":"Sign up","title":"Premium Members","description":"Grab your apron and join Linda LIVE every third Sunday of the month at 7:30 pm EST.","benefits":[{"description":"12 online cooking classes with Linda"},{"description":"Over 13 hours of video content"},{"description":"Watch on your computer, phone or TV"},{"description":"PDF download of all recipes. "},{"description":"Newsletter with tips, tricks and recipes"}],"pricingOptions":[{"id":"9ddb2a9a-9db9-4472-8c0a-f683e030d0c4","price":{"currency":"CAD","value":"107.00"},"billingPeriod":{"value":12,"unit":"MONTH"},"numBillingCycles":0}],"pricingType":"RECURRING","isPaywall":true,"firstPricingOptionId":"9ddb2a9a-9db9-4472-8c0a-f683e030d0c4","firstPricingOptionPriceAmount":"$107.00","firstPricingOptionPriceBillingPeriod":"Every year","hasMultiplePricingOptions":false,"blockId":"59e2abecd70b84061f5b","estimatedDimensions":{"estimatedColumnSpanDesktop":7,"sectionColumnsDesktop":24,"estimatedColumnSpanMobile":8,"sectionColumnsMobile":8},"localizedStrings":{"pricingOptionToggleMonthly":{"one":"Monthly","other":"{0} Months"},"paywallPriceFiniteMonthly":{"other":"For {0} months"},"paywallPriceMonthly":{"one":"Every month","other":"Every {0} months"},"pricingOptionToggleWeekly":{"other":"{0} Weeks","one":"Weekly"},"pricingOptionToggleYearly":{"one":"Yearly"},"paywallPriceFiniteWeekly":{"other":"For {0} weeks"},"paywallPriceOTP":"One time","joinButtonLabel":"Join","pricingOptionToggleInstallments":{"other":"{0} Payments"},"pricingOptionToggleOneTimePayment":"1 Payment","paywallPriceWeekly":{"one":"Every week","other":"Every {0} weeks"},"zeroPriceLabel":"Free","paywallPriceYearly":{"one":"Every year"}},"featureFlags":{"useCLDRMoneyFormat":true}})" data-test="pricing-plan-block-join" id="yui_3_17_2_1_1696276073968_301" tabindex="0"> <div class="sqs-add-to-cart-button-inner" id="yui_3_17_2_1_1696276073968_311"> Sign Up Now </div> </button> Obviously, don't use mine, make sure to inspect your own site to get the right ID. Hope this helps someone! Cheers,
-
Hello, I'm wondering if the the following is possible: 1. I was working on a implementing digital products to be able to sell a Basic and a Premium Membership. When creating the products you can basically very restrictively "design" what it looks like. However you can't change the way the pricing is shown. What we want is basically to be able to have Premium Members pay an annual subscription, but we want the pricing to show as $8.99 per month VS $107 every year. Since this is calling information for the sever, I'm assuming you can just change the works with CSS. Is there a work around? 2. Our workaround was to recreate the pricing table using regular block elements and then just link the button to the User Creating + Premium Member sign up. Question is, how do we link the buttons so that they behave like the digital products do and pop up the right window for the users? Thank you in advance for any wisdom anyone can share. Cheers! If you'd like to access the testing page go to: https://www.livelitebylinda.com/membership PW: 123
-
Why are people gate keeping something so simple? Tumblr has been doing this forever. What's going on Squarespace come oooooooooon.
-
Would love your thoughts.
- 100 replies
-
- logo
- site-title
-
(and 1 more)
Tagged with:
-
cro0w reacted to a post in a topic: How Can I Show Both Site Title and Logo in Header?
-
Thank you so much for sharing some knowledge. @tuanphan I tried using this: // LOGO IMAGE AND TEXT // .header-title-logo a { position: relative; display: inline-block; } .header-title-logo a::after { content: "Live Lite by Linda"; font-size: 26px; font-family: "Poppins", sans-serif; color: inherit; text-align: center; display: inline-flex; align-items: center; vertical-align: middle; font-weight: 500; margin-left: 15px; } .header-title-logo img { vertical-align: middle; } But I have two problems I'm hoping someone can help me figure out. The text used to change dynamically. Now it doesn't. Some of my pages have dark images in the top sections. Since my Nav is transparent, how can I get around this? On my mobile version the text has disappeared, is there away to get it back and make it fit? I do have both site-title, header-logo and mobile-logo plugged in the back. Screenshots and link for reference below. Thank you in advance. https://livelitebylinda.squarespace.com/ PW: lite
- 100 replies
-
- logo
- site-title
-
(and 1 more)
Tagged with:
-
Thank you @paul2009 you confirmed my suspicions. My head was starting to hurt. I appreciate you taking the time. I would like to know more about the workaround. How would I duplicate the metadata in a product tag and then pull the variant price from there? Assuming I can use the same method I used to parse information what is my code missing? I know that it might be tedious but I'm willing to try it. As an alternative, is it possible to just inject code to, hide the from price, and then manually write for each one. I know that would be cumbersome, but I could make it work. What would you recommend?
-
@paul2009 @creedon Hello, I'm hoping someone can guide me through. I've been reading multiple threads now and I can't seem to find anyone nailing down a solution. Here's the status. I have 7.1 and Business Plan. We loaded 4 price variants. I wanted to show a range of prices from low to highest on the PLP, instead of only showing "from cheapest variant". I used this code on the header: <script> /* This is the code overides prices variants in product pages */ document.addEventListener("DOMContentLoaded", function() { var productVariants = document.querySelectorAll(".product-variants")[0].dataset.variants; productVariants = JSON.parse(productVariants); var lowestPrice = Infinity; var highestPrice = 0; for (var i = 0; i < productVariants.length; i++) { var variantPrice = parseFloat(productVariants[i].price) / 100; if (variantPrice < lowestPrice) { lowestPrice = variantPrice; } if (variantPrice > highestPrice) { highestPrice = variantPrice; } } var priceContainer = document.querySelector(".product-price"); priceContainer.innerHTML = "$" + lowestPrice.toFixed(2) + " - $" + highestPrice.toFixed(2); }); </script> It worked. Here's the result: I want to do the same in the Store Page. I was able to figure out a code that targets the right element, but it doesn't show any prices and it only affects the first product on the grid. Here's the code i used on the footer: <script> if (window.location.pathname === '/shop') { var priceContainers = document.getElementsByClassName("grid-prices"); var lowestPrice = Infinity; var highestPrice = 0; for (var i = 0; i < priceContainers.length; i++) { var priceText = priceContainers[i].querySelector(".product-price").textContent.trim(); var price = parseFloat(priceText.substring(5)); if (price < lowestPrice) { lowestPrice = price; } if (price > highestPrice) { highestPrice = price; } } var priceRangeContainer = document.querySelectorAll(".product-price"); for (var i = 0; i < priceRangeContainer.length; i++) { priceRangeContainer[i].innerHTML = "$" + lowestPrice.toFixed(2) + " - $" + highestPrice.toFixed(2); } } </script> Here's the result: What I'm thinking is that from the Store Page, it doesn't know what the min and max price variant is, unlike the PLP. How can I scrap the data and then loop it back but in the Store Page. How do I target all the elements on the grid? Is it possible to achieve the same result I got on the PLP? Thank you in advance for taking the time to read. I'm not a programmer by any means nor do I feel comfortable with code, Chat GTP helped me figure most of it out. Which is amazing to me. Here's the link to the website: https://chathamcompassion.com/shop (It's a 420 shop I'm working for a client)