Hello Support,
I’ve been going through the forums working to get a clickable link on the bg image of a column that has hover effects as well as vertically centered text and a button.
I’ve built a sample page and described the specific issues I’m having which I’ll attach via a secure note below. Let me know if you need backend access and I’ll arrange that.
For reference, here’s the code I’ve been using.
Javascript for making the column bg image into a link, deployed on the specific page:
jQuery(document).ready(function($){
$("#linked-column-1 > div").wrap('<a href="http://google.com/"></a>');
});
CSS for linked columns:
.linked-column > a {display: block; width: 100%; height: 100%; top: 0; left: 0;}
CSS for hover effect:
.linked-column > a:hover {transition: opacity 0.3s ease; opacity: 0.75;}
CSS for vertical align:
.verticalaligncenter .x-container .x-column:last-child {display: flex; align-items: center; flex-direction:column;}
.verticalaligncenter .x-container {display: flex; flex-flow: row wrap; justify-content: center;}
As always, thanks for the support!