Image not loading on Squarespace page
Image not loading on Squarespace page
I made a simple change on my Squarespace site today, and for some reason my images on one specific page are not loading anymore. I've tried different browsers, and clearing my cache, but the image won't load and nothing has changed. Any idea what I can do to get to the bottom of this?
If you follow this link you will see what I'm talking about, and image will load for less than a second and then disappear. If you don't see it, try refreshing the page.
1 Answer
1
It appears that you are applying some custom CSS to the page in question, likely via per-page code injection. The following code is appearing on that page:
<style>
.sublogo
z-index:1000;
position:fixed;
top:20px;
left:35px;
.thumb-image.loaded
display: none !important;
</style>
It is the second rule, .thumb-image.loaded ...
that is causing the image to disappear once it is fully loaded.
.thumb-image.loaded ...
Removing that rule should solve the issue. Of course, you'd need to consider why the rule was added in the first place and what other issue it was put there to solve.
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
you got it! Thanks!
– GiH
Sep 8 '18 at 17:33