ryanbeale Posted March 16, 2021 Share Posted March 16, 2021 On 1/12/2021 at 12:08 AM, tuanphan said: Add to History Page Header <style> @media screen and (min-width:992px) { #page section:first-child img { visibility: hidden; } } </style> This works but also takes away the image I have on my page. Anyway to work around this? Link to comment
tuanphan Posted March 24, 2021 Share Posted March 24, 2021 On 3/17/2021 at 1:49 AM, ryanbeale said: Can you share page url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
paesaggisensibili Posted August 10, 2021 Share Posted August 10, 2021 Hi, I've added this code on the header <style> @media screen and (min-width:992px) { #page section:first-child img { visibility: hidden; } } </style> this is ok for not showing the Fallback Image on desktop, but all the covers on my portfolio page have disappeared as some slideshows. Also I don't understand why while loading the content the backgorund color of video's section is grey while I set the background color black on the style section of squarespace. the page is: https://www.paesaggisensibili.org/work/powerscape password: landscapes thank you Link to comment
paesaggisensibili Posted August 10, 2021 Share Posted August 10, 2021 ok I have figuerd out how to target the specific section with CSS: @media screen and (min-width:992px) { section[data-section-id="6108207bad85b32d4f272a0b"]:first-child img { visibility: hidden;}} not very handy as I have to manually do this for every section... Still unsolved the background color while the video is loading...should be black but it is gray Link to comment
tuanphan Posted August 12, 2021 Share Posted August 12, 2021 On 8/10/2021 at 6:47 PM, paesaggisensibili said: ok I have figuerd out how to target the specific section with CSS: @media screen and (min-width:992px) { section[data-section-id="6108207bad85b32d4f272a0b"]:first-child img { visibility: hidden;}} not very handy as I have to manually do this for every section... Still unsolved the background color while the video is loading...should be black but it is gray Try this code section[data-section-id="6108207bad85b32d4f272a0b"] .section-background {background-color: black !important;} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
paesaggisensibili Posted August 16, 2021 Share Posted August 16, 2021 Hi, thank you, at the end I solved with a plugin that is working great Link to comment
javierdiaz1910 Posted November 14, 2021 Share Posted November 14, 2021 @rwpThis worked in preventing from loading the fallback image first on desktop. However, when I test in Mobile, the fall back image is all distorted. The fallback image is enabled through the block background option. Here's a screenshot of the code injection on the header- Here's how the fallback image is enabled- I have a feeling I need to be explicit of the fall back image in the code injection but I am not sure how or what. I am not a coder by any means. Thanks in advanced. Link to comment
tuanphan Posted November 15, 2021 Share Posted November 15, 2021 14 hours ago, javierdiaz1910 said: @rwpThis worked in preventing from loading the fallback image first on desktop. However, when I test in Mobile, the fall back image is all distorted. The fallback image is enabled through the block background option. Here's a screenshot of the code injection on the header- Here's how the fallback image is enabled- I have a feeling I need to be explicit of the fall back image in the code injection but I am not sure how or what. I am not a coder by any means. Thanks in advanced. Can you share link to your site? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
javierdiaz1910 Posted November 15, 2021 Share Posted November 15, 2021 6 hours ago, tuanphan said: Can you share link to your site? We can check easier @tuanphan The site is https://www.donalbertocoffee.com, password is titkos9jelszo Once you look at the desktop version, feel free to open it via mobile. You'll see that the image is distorted/pixelate but it is actually focusing on the left upper corner. If you go landscape, you'll see the entire image correctly, and if you go back to portrait, the actual fallback image is correctly displayed as well. Weird. Also, for whatever reason, the browser mobile option doesn't quite ilustrate the issue, which is why I suggested logging directly through a mobile device. Thanks in advance. Link to comment
javierdiaz1910 Posted November 17, 2021 Share Posted November 17, 2021 @tuanphan Any chance you guys looked at this? Link to comment
tuanphan Posted November 20, 2021 Share Posted November 20, 2021 On 11/15/2021 at 10:07 PM, javierdiaz1910 said: @tuanphan The site is https://www.donalbertocoffee.com, password is titkos9jelszo Once you look at the desktop version, feel free to open it via mobile. You'll see that the image is distorted/pixelate but it is actually focusing on the left upper corner. If you go landscape, you'll see the entire image correctly, and if you go back to portrait, the actual fallback image is correctly displayed as well. Weird. Also, for whatever reason, the browser mobile option doesn't quite ilustrate the issue, which is why I suggested logging directly through a mobile device. Thanks in advance. Hi, Password incorrect. Can you check it again? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
adamchernick Posted March 4, 2022 Share Posted March 4, 2022 It looks like @squarespace has not resolved this one yet. I am seeing this in my project and it is a tough one to work around. I will try the above code fix. @squarespace, please fix this! Link to comment
tuanphan Posted March 6, 2022 Share Posted March 6, 2022 On 3/4/2022 at 9:24 PM, adamchernick said: It looks like @squarespace has not resolved this one yet. I am seeing this in my project and it is a tough one to work around. I will try the above code fix. @squarespace, please fix this! If you share link to your site, we can give a simple code to fix this Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment