Hey, I'm having problems redirecting the portfolio page items to the corresponding links. I'm using the Portfolio page as a Navigation for my client's website. (marioguarino.com) Anyone know where I'm going wrong? All of them are just redirecting to the fashion page.
I tried laying the out separately from one another inside their own <script> tags but it made 0 difference.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('section[data-section-id="64d539d850e1c1722bc5f05e"] a.portfolio-hover-item:nth-child(1)').attr('href','/fashion');
$('section[data-section-id="64d539d850e1c1722bc5f05e"] a.portfolio-hover-item:nth-child(2)').attr('href','/editorial');
$('section[data-section-id="64d539d850e1c1722bc5f05e"] a.portfolio-hover-item:nth-child(3)').attr('href','/exhibitions');
$('section[data-section-id="64d539d850e1c1722bc5f05e"] a.portfolio-hover-item:nth-child(4)').attr('href','/personal-work');
});
</script>