OliviaG Posted September 3, 2020 Share Posted September 3, 2020 Site URL: https://oliviagavoyannis.com/ Hello, I want to remove the links on the images on my main blog post page so that users have to click on the post's 'read more' or title to go to the web pages I have linked rather than a blank blog post. Does anyone know how I do this? Thanks so much! Link to comment
tuanphan Posted September 3, 2020 Share Posted September 3, 2020 Add to Home > Design > Custom CSS /* disable image post click */ article.blog-basic-grid--container>div:first-child { pointer-events: none; } OliviaG 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
OliviaG Posted September 3, 2020 Author Share Posted September 3, 2020 @tuanphanJust added this in and it works perfectly, thank you! Link to comment
HMC Posted November 23, 2020 Share Posted November 23, 2020 On 9/3/2020 at 5:04 AM, tuanphan said: Add to Home > Design > Custom CSS /* disable image post click */ article.blog-basic-grid--container>div:first-child { pointer-events: none; } Hi @tuanphan I am having the same issue. Tried this CSS code and it doesn't seem to work. Any suggestions? www.roundhilldesign.com/press Link to comment
tuanphan Posted December 3, 2020 Share Posted December 3, 2020 On 11/24/2020 at 12:46 AM, HMC said: Hi @tuanphan I am having the same issue. Tried this CSS code and it doesn't seem to work. Any suggestions? www.roundhilldesign.com/press Add to Home > Design > Custom CSS section.blog-image-wrapper { pointer-events: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
WinMediaUK Posted December 3, 2020 Share Posted December 3, 2020 This worked for me! thank you for your support. These help articles are great!! Link to comment
PHIG Posted February 19, 2021 Share Posted February 19, 2021 Hi @tuanphan I am a complete squarespace novice. I have a website and just want to make one or two images not clickable. At the moment they open a new page which i don't want it to. How do I remove this function from an image? Link to comment
tuanphan Posted February 22, 2021 Share Posted February 22, 2021 On 2/19/2021 at 5:48 PM, PHIG said: Hi @tuanphan I am a complete squarespace novice. I have a website and just want to make one or two images not clickable. At the moment they open a new page which i don't want it to. How do I remove this function from an image? If you share link to page where you have problem. We can check easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
wattsgraphics Posted November 24, 2022 Share Posted November 24, 2022 @tuanphan Hi I would like to block the link on all blog images. I have tried using the code you provided above however, I can’t get it to work. I am using the Universal Filter plug-in. Your help would be great! https://turbot-kangaroo-4ghm.squarespace.com/gallery Link to comment
tuanphan Posted November 27, 2022 Share Posted November 27, 2022 On 11/25/2022 at 1:48 AM, wattsgraphics said: @tuanphan Hi I would like to block the link on all blog images. I have tried using the code you provided above however, I can’t get it to work. I am using the Universal Filter plug-in. Your help would be great! https://turbot-kangaroo-4ghm.squarespace.com/gallery Add this to Design > Custom CSS /* Gallery page disable image click */ body#collection-636e251896d49f2bbe60f43b article { pointer-events: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
wattsgraphics Posted November 30, 2022 Share Posted November 30, 2022 @tuanphan thanks for checking it out, although I still can't get it to work... I have tried adding important!; to the end but this has not made a difference. Link to comment
tuanphan Posted December 2, 2022 Share Posted December 2, 2022 On 12/1/2022 at 12:44 AM, wattsgraphics said: @tuanphan thanks for checking it out, although I still can't get it to work... I have tried adding important!; to the end but this has not made a difference. You placed code in wrong position, it made code invalid. Place code in 2 } other symbols will made code doesn't work properly. Move code under Line 366. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
wattsgraphics Posted December 10, 2022 Share Posted December 10, 2022 Hi @tuanphan Sorry I did not see your reply, the code is working now! Thanks so much for your help 🙂 tuanphan 1 Link to comment
JoshA Posted February 14 Share Posted February 14 Hi, just wondering whether anyone can help (perhaps @tuanphan as you seem so knowledgeable here!). I'm trying to follow the above but it's not working. I installed Universal Filter on a blog page and have changed each blog post to a different source url, and that works when you click on the title or the 'read more' link however I want to disable the image hyperlink/clickthrough but everything I've tried doesn't work. Page is: https://www.urbanhealthcouncil.com/reports Any suggestions? Thank you Link to comment
JoshA Posted February 14 Share Posted February 14 Did some more searching and turns out this is the magic code that goes into the css: .blog-basic-grid .blog-basic-grid--container.is-loaded>div:first-child { pointer-events: none; } tuanphan 1 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