Jump to content

I would like to hide dates of an events using CSS.

Recommended Posts

  • Replies 30
  • Views 4.8k
  • Created
  • Last Reply
On 4/2/2020 at 9:26 PM, RunatitSHOUTING said:

Thank you i really appreciate your help

Is there a possibility to change the url for it instead of disabling it ?
 

Add 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
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.