RunatitSHOUTING Posted April 2, 2020 Share Posted April 2, 2020 Site URL: https://runatitshouting.co.uk/courses where the calendar thumbnail is to the top left on each event. this is clickable and takes you to another purchase page. can i possible change this so when you click on the calendar thumbnail i can take them to a customised url. i want to take the user to a page with a calendar on if possible . All i need to know if how i change the url for the thumbnail thank you in advance x Link to comment
tuanphan Posted April 4, 2020 Share Posted April 4, 2020 add this to Home > Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function() { // check by tuan // for event 1 $("article.eventlist-event:nth-child(1) .eventlist-column-thumbnail").attr('href','https://beaverhero.com'); // for event 2 $("article.eventlist-event:nth-child(2) .eventlist-column-thumbnail").attr('href','https://google.com'); }); </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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.