-
Posts
144 -
Joined
-
Last visited
-
Days Won
1
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by joseph81
-
Change the aspect ratio of the video container
joseph81 replied to Mica77's topic in Images & Videos
You just need to play with the percentages: .video-block .video-player { padding-top: 16.25% !important; } If you want to take out the 2px top and bottom space then write this also: .video-block { border: none!important; } -
Change the aspect ratio of the video container
joseph81 replied to Mica77's topic in Images & Videos
Oh, it seems you have a code specificity problem. The new code is not overwriting the default code, so let's put an important flag on it: .video-block .video-player { padding-top: 38.25% !important; } -
Change the aspect ratio of the video container
joseph81 replied to Mica77's topic in Images & Videos
Actually these are the right classes. But for underneath the video, that seems like the flexible grid issue of Squarespace. Maybe you could delete the video and add it again(keeping the new CSS code). .video-block .video-player { padding-top: 38.25%; } -
Change the aspect ratio of the video container
joseph81 replied to Mica77's topic in Images & Videos
In your case the following percentage seems to fit: .sqs-native-video .native-video-player { padding-top: 38.25%; } -
Change the aspect ratio of the video container
joseph81 replied to Mica77's topic in Images & Videos
Hi. It is a little bit harder to give you the best advice without seeing your website, but I can write here 2 solutions that might work but it all depends of the structure you are having in your video block: The first: .video-block { .video-player { padding-bottom: 177% !important } } The second if the first does not work for you: .video-block { .embed-block-wrapper, .intrinsic-inner { padding-bottom: 177% !important } } For further explanation or other options please visit my article: https://www.ui-workarounds.com/control-the-aspect-ratio-of-your-videos-in-squarespace/ If these 2 examples don't help please let me know. The 177% is for 9/16 portrait aspect ratio. -
If your question is still valid, then I want to give you my solution: https://www.ui-workarounds.com/boosting-your-squarespace-accordion-with-videos-images-tables-lists-and-titles/ With this script you can add in your accordion videos, images, tables, titles and lists. If you have questions, just let me know.
-
Want to embed video in accordion with codepen
joseph81 replied to ne24611's topic in Customize with code
Oh, the other way to do it is to create a code block and copy first the html then in <style>...code here...</style> to put the css and in <script> ...code here</script> to put the javascript. I don't think the current accordion block let's you do that. I wrote an article about this in the past, take a look, if you need further assistance let me know. I am planning to make also a video for this article. https://www.ui-workarounds.com/boosting-your-squarespace-accordion-with-videos-images-tables-lists-and-titles/ -
How do I get rid of sold out product price
joseph81 replied to VincentLussier's topic in Setting up your store
You placed that code outside the style tag, that is one of the problems. -
How do I get rid of sold out product price
joseph81 replied to VincentLussier's topic in Setting up your store
Can you show me the CSS, where you applied this code? -
How do I get rid of sold out product price
joseph81 replied to VincentLussier's topic in Setting up your store
Please try this one: .ProductList-item.sold-out .product-price, .ProductItem.sold-out .product-price { display: none!important; } -
How do I get rid of sold out product price
joseph81 replied to VincentLussier's topic in Setting up your store
Then you need to apply this CSS in the Custom CSS panel: .ProductList-item.sold-out .product-price, .ProductItem.sold-out .product-price { display: none; } -
How do I get rid of sold out product price
joseph81 replied to VincentLussier's topic in Setting up your store
Hi. I am not sure where you have a product that is sold already. None of them has $0 for price. -
Changing aspect ratio of video player - Squarespace hosted videos
joseph81 replied to JoelleM's topic in Images & Videos
For square you should use padding-bottom: 100% -
Replace "subscription" with "membership"
joseph81 replied to rasmusarentsen's topic in Customize with code
Could you elaborate on that? Is it a subscription block or widget or what is it? -
Take a look at my video, for now there is support only for images but the process is pretty simple. Also the article: https://www.ui-workarounds.com/how-to-make-a-squarespace-accordion-image-friendly/
-
I would like to understand your problem better. There is an image that animates the letters and there is a css animation that slides up the image from outside the screen to the top of the screen. You want to set up a cookie or localstorage to check if the user already was on the site. If yes just don't show the image, right?
-
Korean words getting split across lines in weglot
joseph81 replied to NathanS's topic in Customize with code
Can you attach here a URL link towards your site?- 4 replies
-
- translation
- line
-
(and 2 more)
Tagged with:
-
How Do I Edit the Name I Gave My Site on the Main SS Dashboard?
joseph81 replied to jenplusplus's topic in Pages & Content
That is actually done by Editing your website then editing the header section > Site title & Logo Click Edit in the top-left corner of your site preview. Hover over the header and click Edit Site Header. Click Site Title & Logo. In the Site Title text field, enter a site title. Hover over Done and click Save. https://support.squarespace.com/hc/en-us/articles/205815838-Adding-a-site-title#:~:text=Click Edit in the top,Click Site Title %26 Logo. -
Without seeing your website, it's hard to tell. But I am guessing if the cart is an SVG, then maybe the text is also an SVG Text tag: .header-actions-action--cart text { fill: white !important; } If it's not an SVG Text tag than maybe it is a span: .header-actions-action--cart, .header-actions-action--cart span { color: #fff !important; }
-
.video-player .plyr video { object-fit: cover; object-position: center right; } .video-player .plyr__poster { background-size: cover; background-position: center right; } You can make the video fill the video-block area with the above code. Also I centered it right because of the title at the begining to be visible. You have a really wide video there, this should be resolved in the export phase.
-
Changing aspect ratio of video player - Squarespace hosted videos
joseph81 replied to JoelleM's topic in Images & Videos
In your case the code is slightly different: .video-block { .video-player { padding-bottom: 125% !important } } -
Changing aspect ratio of video player - Squarespace hosted videos
joseph81 replied to JoelleM's topic in Images & Videos
The 4:5 ratio would look like this: .video-block { .embed-block-wrapper, .intrinsic-inner { padding-bottom: 125% !important } } My solution works with video blocks, I'm not sure what you are using since the password you provided does not work to enter your website. -
Changing aspect ratio of video player - Squarespace hosted videos
joseph81 replied to JoelleM's topic in Images & Videos
I just wrote yesterday an article about this actually: /*make video-blocks 4:3*/ .video-block { .embed-block-wrapper, .intrinsic-inner { padding-bottom: 75% !important } } https://www.ui-workarounds.com/control-the-aspect-ratio-of-your-videos-in-squarespace/ -
Situation changes in this case. I believe you applied a text color first on a text and then applied the link on a part of the text: 1. 2. 3. The color on the span is applied on the text instead of the color of the link that is the parent element of the span as you can observe on the left. To solve this, you should add a text then the link and finally the color on the rest of the text that is not link(the blue in your case)