I have a grid row that has 4 sections and on the fourth section, I have a background image and I would like this whole 4th section to be a link. How can I accomplish this. I have tried adding a full width button and making it transparent but with little success. bellThe link ot the site is in the private section and the grid row area is on the home page right below the first section which is a video
Hey hingex,
Please add a custom class to the grid row cell you wish to be a link, if you don’t see the custom class box at the bottom of the element, read this: Turn on Custom CSS Class field for all ALB Elements
For this example we will use “linkcell” as the custom class.
Then add this code to the end of your functions.php file in Appearance > Editor:
function link_cell(){
?>
<script>
$(".linkcell").click(function() {
window.location = "http://google.com";
});
</script>
<?php
}
add_action('wp_footer', 'link_cell');
adjust the url to suit.
Hopefully you are using a child theme, if not please consider so your customization won’t be lost on the next update. Read about using a Child Theme
Best regards,
Mike