samranlet Posted July 1, 2023 Posted July 1, 2023 I'm looking for a way to hyperlink both the images and the titles in a carousel gallery in my portfolio. I'd love for the title and images to be visible, but to eventually hide the buttons so that the user can simply click either the image or title to get through to the linked page. Any help with this would be greatly appreciated! Here is the webpage (carousel is at the bottom): https://www.samantharanlet.com/portfolio/photography
Solution tuanphan Posted July 3, 2023 Solution Posted July 3, 2023 Add to Design > Custom CSS /* List clickable */ .user-items-list-item-container[data-section-id="64998f226c956063eec26ea5"] { li.list-item { position: relative; } .list-item-content__button-container { position: static; } a.list-item-content__button.sqs-block-button-element { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; color: transparent !important; background-color: transparent !important; border: none !important; } .list-item-content__button-container { position: static !important; transform: unset !important; } a.list-item-content__button.sqs-block-button-element:before { visibility: hidden; } .user-items-list-carousel__slide { pointer-events: initial !important; user-select: unset !important; } .user-items-list-carousel__gutter { cursor: pointer; }} 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!)
samranlet Posted July 4, 2023 Author Posted July 4, 2023 You rock, tuanphan! This works perfectly. I sincerely appreciate it! tuanphan 1
sabertoothless Posted July 7, 2023 Posted July 7, 2023 I am pretty sure I need to do the same thing. How do you implement this script easily? Thank you both so much.
tuanphan Posted July 9, 2023 Posted July 9, 2023 On 7/8/2023 at 4:03 AM, sabertoothless said: I am pretty sure I need to do the same thing. How do you implement this script easily? Thank you both so much. You can share link to page where you use list section, we can adjust code id for your case 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!)
Paul_Wille Posted July 8 Posted July 8 Hey, can you update this for a mobile version too, because this doesn´t work for Mobile @ our site www.bottegajacobs.com
tuanphan Posted July 13 Posted July 13 On 7/8/2024 at 3:30 PM, Paul_Wille said: Hey, can you update this for a mobile version too, because this doesn´t work for Mobile @ our site www.bottegajacobs.com It doesn't work on mobile, because on mobile you used a different Carousel, and in this carousel, you haven't enable Button. You can enable button then use this extra code to Custom CSS /* List clickable */ section[data-section-id="667d7a7030813771141393c7"] { li.list-item { position: relative; } .list-item-content__button-container { position: static; } a.list-item-content__button.sqs-block-button-element { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; color: transparent !important; background-color: transparent !important; border: none !important; } .list-item-content__button-container { position: static !important; transform: unset !important; } a.list-item-content__button.sqs-block-button-element:before { visibility: hidden; } .user-items-list-carousel__slide { pointer-events: initial !important; user-select: unset !important; } .user-items-list-carousel__gutter { cursor: pointer; }} 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment