charliekransdorf Posted November 21, 2020 Share Posted November 21, 2020 Hi, I'm trying to remove the ability for users to click through on certain Thumbnail/Banner Images within an Index page on a site using the flatiron template. Specifically, the images that represent routes 2-10. any advice / help would be appreciated. Link to comment
tuanphan Posted November 22, 2020 Share Posted November 22, 2020 Try adding this to Home > Design > Custom CSS .item [href="/route2"] { pointer-events: none; } 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
charliekransdorf Posted November 23, 2020 Author Share Posted November 23, 2020 unfortunately, it didn't work. thank you for the reply, though. Link to comment
creedon Posted November 24, 2020 Share Posted November 24, 2020 Give this a go. .item :not( [href="/route1/"] ) { pointer-events: none; } If you need to have more than route1 one clickable this CSS would need to be adjusted. Or if you want just route one not clickable use @tuanphan code but just add a forward slash to the end of the URL like "/route1/". Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
charliekransdorf Posted November 24, 2020 Author Share Posted November 24, 2020 i will eventually need to have more than one clickable, so i added the forward slash to the @tuanphan code, as per your suggestion and it worked. thanks, guys. this has been driving me crazy for a while. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.