Jump to content

How to remove Portfolio pages click through

Go to solution Solved by nick_sh,

Recommended Posts

I've been trying for days now to remove the click through on this Portfolio page showcasing archival work. I want to keep the hover effect. I've been reading multiple help guides in here and elsewhere, but none of the codes I've found seem to work, and I even updgraded my plan to insert custom codind.

Someone else in here had the same problem with this exact portfolio, but posted that he decided to something else, so I can't really figure out where to go from now.

Can anyone help out here?

Thanks!

Kat

 

Screen Shot 2024-02-18 at 13.32.55.png

Link to comment
  • 3 months later...

Hello, 

I'm sorry I have the same issue. I just wanted a page to list clients with a hover-change background. I couldn't work out the non-portfolio option, so I gave in, only to discover you can't have more than 60 projects (I need 100) and you can't have multiple portfolios on one page. Disaster. 

After accepting I needed to reduce to 60 and use the portfolio page, I again got stuck as I could not turn off the portfolio links, and it clicks through to empty projects. I just want the background image to change without the possibility of clicking. I am at my wit's end. 

https://www.wrjdavis.com/portfolio-3

Please help, 

Will 

Link to comment
On 6/13/2024 at 10:52 PM, WRJD said:

Hello, 

I'm sorry I have the same issue. I just wanted a page to list clients with a hover-change background. I couldn't work out the non-portfolio option, so I gave in, only to discover you can't have more than 60 projects (I need 100) and you can't have multiple portfolios on one page. Disaster. 

After accepting I needed to reduce to 60 and use the portfolio page, I again got stuck as I could not turn off the portfolio links, and it clicks through to empty projects. I just want the background image to change without the possibility of clicking. I am at my wit's end. 

https://www.wrjdavis.com/portfolio-3

Please help, 

Will 

To achieve hover-change background, you can follow this

 

to remove link, you can use this code to Website > Website Tools > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('a.portfolio-hover-item').removeAttr('href');
});
</script>

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.