I'm using wordpress and beaver builder. I need to make an entire row clickable. Basically "despre" goes to "despre page" "servicii" goes to "servicii page"and so on. The website is this
I got this code from a guy but unfortunately It's not working on mobile version.
$('#aflamaimult')
.css('cursor', 'pointer')
.on('mouseenter', function() {
$(this).css('opacity', '.75')
})
.on('mouseleave', function() {
$(this).css('opacity', '1')
.on('click', function() {
window.location.href = "https://google.com";
});
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Thank you very much