BHC Posted August 3, 2022 Share Posted August 3, 2022 (edited) I want to update this page so that the "team" section is the only one that has the b/w hover effect. Right now, it's also affecting the top slideshow area. I'm not sure what CSS to use to exclude just that top section. Or if maybe I should be approaching this a different way? Any ideas? CSS I'm currently using: //Bio Photo Rollover// li.list-item {filter: grayscale(100%);} li.list-item:hover { filter: none;} Thank you! Edited August 24, 2022 by BHC remove client info Link to comment
tuanphan Posted August 5, 2022 Share Posted August 5, 2022 You mean Key People Section? Use this new code //Bio Photo Rollover// .user-items-list-item-container[data-section-id="625f3f9aadede3156929916d"] { li.list-item {filter: grayscale(100%);} li.list-item:hover { filter: none;} } BHC 1 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
BHC Posted August 5, 2022 Author Share Posted August 5, 2022 (edited) @tuanphan that's awesome, thank you! Do you know if there's any easy way to reverse it so that I don't have to add a new section each time there is a new "team" section? Edit to add: The idea being that one day, the client will manage this, and I'm not sure they'll be able to replicate it. Edited August 5, 2022 by BHC Link to comment
Solution tuanphan Posted August 7, 2022 Solution Share Posted August 7, 2022 On 8/5/2022 at 11:21 PM, BHC said: @tuanphan that's awesome, thank you! Do you know if there's any easy way to reverse it so that I don't have to add a new section each time there is a new "team" section? Edit to add: The idea being that one day, the client will manage this, and I'm not sure they'll be able to replicate it. You can change section width to 99% then use this code [data-current-styles*='"customContentWidth": 99'] { .content-wrapper { width: 100%; max-width: 100%; } li.list-item {filter: grayscale(100%);} li.list-item:hover { filter: none;} } BHC 1 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
BHC Posted August 8, 2022 Author Share Posted August 8, 2022 That's perfect, never would have thought of it — 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