Leslie1570048145 Posted October 12, 2021 Posted October 12, 2021 Site URL: http://www.gastingerwalker.com/contact I inherited an already built site and I needed to update the contact info. The email and phone numbers for each person are images. Before I updated with new info, they were gray until you hovered over them and they turned blue. Now the ones I have updated are blue all the time. * the actual image is blue (white background blue text) so looks like the code makes it gray until hover. would love some direction on how to fix this. Thanks!
Beyondspace Posted October 14, 2021 Posted October 14, 2021 On 10/13/2021 at 5:09 AM, Leslie1570048145 said: Site URL: http://www.gastingerwalker.com/contact I inherited an already built site and I needed to update the contact info. The email and phone numbers for each person are images. Before I updated with new info, they were gray until you hovered over them and they turned blue. Now the ones I have updated are blue all the time. * the actual image is blue (white background blue text) so looks like the code makes it gray until hover. would love some direction on how to fix this. Thanks! Try adding to Home > Design > Custom Css #collection-5613eef4e4b052adbca11b36 .image-block-wrapper img { filter: grayscale(1); } #collection-5613eef4e4b052adbca11b36 .image-block-wrapper:hover img { filter: grayscale(0); } Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Leslie1570048145 Posted November 18, 2021 Author Posted November 18, 2021 here is all of the CSS that has been added to the site. Where would your suggestion go in here? .sqs-block-summary-v2 { .summary-title, .summary-heading { font-family: "arial"; font-size:20px } } // Zoom in and saturate img[alt*=".."] { -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -ms-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; // opacity: 0.7 !important; filter: grayscale(.35); -webkit-filter: grayscale(35%); -moz-filter: grayscale(.35); -o-filter: grayscale(.35); -ms-filter: grayscale(.35); } img[alt*=".."]:hover{ transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); //opacity: 1 !important; filter: grayscale(0); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0); -o-filter: grayscale(0); -ms-filter: grayscale(0); } // Zoom out and desaturate img[alt*=".:"] { -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -ms-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; // opacity: 0.7 !important; transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); filter: grayscale(100); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100); -o-filter: grayscale(100); -ms-filter: grayscale(100); } img[alt*=".:"]:hover{ transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); //opacity: 1 !important; } // Slide img[alt*=".-"] { margin-left: 0px; -webkit-transition: margin 1s ease; -moz-transition: margin 1s ease; -o-transition: margin 1s ease; -ms-transition: margin 1s ease; transition: margin 1s ease; } img[alt*=".-"]:hover{ margin-left: -200px; } // Blur img[alt*=".+"] { -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -o-transition: all .5s ease; -ms-transition: all .5s ease; transition: all .5s ease; } img[alt*=".+"]:hover{ filter: blur(5px); -webkit-filter:blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); } // Grey to colour img[alt*="./"] { filter: grayscale(100); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100); -o-filter: grayscale(100); -ms-filter: grayscale(100); -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -o-transition: all .25s ease; -ms-transition: all .25s ease; transition: all .25s ease; } img[alt*="./"]:hover{ filter: grayscale(0); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0); -o-filter: grayscale(0); -ms-filter: grayscale(0); } .sqs-block.image-block { padding-top:5px !important; padding-bottom:5px !important; padding-left:4px; padding-right:4px; }
Leslie1570048145 Posted November 18, 2021 Author Posted November 18, 2021 It is also happening on the pages I have added for new employees. Their email address at the bottom of their individual pages should be gray until hover but the new ones I have added are not doing that.
tuanphan Posted November 20, 2021 Posted November 20, 2021 On 11/18/2021 at 11:49 PM, Leslie1570048145 said: It is also happening on the pages I have added for new employees. Their email address at the bottom of their individual pages should be gray until hover but the new ones I have added are not doing that. Have you solved it yet or still need help? 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!)
Beyondspace Posted November 21, 2021 Posted November 21, 2021 On 11/18/2021 at 10:13 PM, Leslie1570048145 said: here is all of the CSS that has been added to the site. Where would your suggestion go in here? .sqs-block-summary-v2 { .summary-title, .summary-heading { font-family: "arial"; font-size:20px } } // Zoom in and saturate img[alt*=".."] { -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -ms-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; // opacity: 0.7 !important; filter: grayscale(.35); -webkit-filter: grayscale(35%); -moz-filter: grayscale(.35); -o-filter: grayscale(.35); -ms-filter: grayscale(.35); } img[alt*=".."]:hover{ transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); //opacity: 1 !important; filter: grayscale(0); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0); -o-filter: grayscale(0); -ms-filter: grayscale(0); } // Zoom out and desaturate img[alt*=".:"] { -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -ms-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; transition: all 200ms ease-in-out; // opacity: 0.7 !important; transform: scale(1.2); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); filter: grayscale(100); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100); -o-filter: grayscale(100); -ms-filter: grayscale(100); } img[alt*=".:"]:hover{ transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); //opacity: 1 !important; } // Slide img[alt*=".-"] { margin-left: 0px; -webkit-transition: margin 1s ease; -moz-transition: margin 1s ease; -o-transition: margin 1s ease; -ms-transition: margin 1s ease; transition: margin 1s ease; } img[alt*=".-"]:hover{ margin-left: -200px; } // Blur img[alt*=".+"] { -webkit-transition: all .5s ease; -moz-transition: all .5s ease; -o-transition: all .5s ease; -ms-transition: all .5s ease; transition: all .5s ease; } img[alt*=".+"]:hover{ filter: blur(5px); -webkit-filter:blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); } // Grey to colour img[alt*="./"] { filter: grayscale(100); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100); -o-filter: grayscale(100); -ms-filter: grayscale(100); -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -o-transition: all .25s ease; -ms-transition: all .25s ease; transition: all .25s ease; } img[alt*="./"]:hover{ filter: grayscale(0); -webkit-filter: grayscale(0%); -moz-filter: grayscale(0); -o-filter: grayscale(0); -ms-filter: grayscale(0); } .sqs-block.image-block { padding-top:5px !important; padding-bottom:5px !important; padding-left:4px; padding-right:4px; } You just need to add my codes at the end of you Custom Css BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Recommended Posts
Archived
This topic is now archived and is closed to further replies.