judgereini Posted November 6 Share Posted November 6 Hi Squarespace Community! I have searched the forum, but didn't find an answer for my specific questions ... so here it is: My client has sponsor logos on their website. These logos should be now displayed all in grey ... and on mouse-over these logos should get a little lighter. On click the user gets directed to the sponsor's website. This is the site my client got the inspiration for this kind of logo presentation: https://www.weissraum.at/ (just scroll to the bottom). Any idea how I can achieve this effect in Squarespace? Best, Christian Link to comment
jaeveedee Posted November 6 Share Posted November 6 Can you share a link to your client's site? If it's still in trial mode add a site password using this guide https://support.squarespace.com/hc/en-us/articles/205815528-Site-wide-passwords ☕ Did I help you? Buy me a coffee! 💻 I'm for hire on Upwork! Link to comment
judgereini Posted November 6 Author Share Posted November 6 (edited) Here is a link to my client's website: www.limonada.at Edited November 6 by judgereini Link to comment
judgereini Posted November 6 Author Share Posted November 6 Here is a link to my client's website: www.limonada.at Link to comment
SaranyaDesigns Posted November 6 Share Posted November 6 @judgereini try this in custom CSS? #yui_3_17_2_1_1699303320002_115 img { filter: grayscale(100%); transition: all .3s; } #yui_3_17_2_1_1699303320002_115 img:hover { opacity: 0.75; } You will still need to link each image directly to the website it's supposed to go to though... but the above should take care of the visual effects. Link to comment
Solution jaeveedee Posted November 7 Solution Share Posted November 7 If you want it for all the images in that section you could do it like this. This way you don't target individual images. section[data-section-id="652cdfe47161a10cf9d95eb2"] .sqs-block-image { img { filter: grayscale(100%); transition: all .3s; } &:hover { img { opacity: .75 !important; } } } ☕ Did I help you? Buy me a coffee! 💻 I'm for hire on Upwork! Link to comment
SaranyaDesigns Posted November 7 Share Posted November 7 1 hour ago, jaeveedee said: If you want it for all the images in that section you could do it like this. This way you don't target individual images. section[data-section-id="652cdfe47161a10cf9d95eb2"] .sqs-block-image { img { filter: grayscale(100%); transition: all .3s; } &:hover { img { opacity: .75 !important; } } } @jaeveedee the div ID I used chooses the whole section of content as well, not individual images, I just went a couple layers further in than yours 🙂 jaeveedee 1 Link to comment
jaeveedee Posted November 7 Share Posted November 7 @SaranyaDesigns I didn't even check, for some reason I just assumed that was the individual block id. That works too! SaranyaDesigns 1 ☕ Did I help you? Buy me a coffee! 💻 I'm for hire on Upwork! Link to comment
judgereini Posted November 12 Author Share Posted November 12 Thanks a lot for the code! That was exactly, what I was looking for :-))) Your help is very much appreciated!!! All the best, Christian 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