0

I want to replace Event Date: word using CSS and without the help of jQuery.

<ul class="event-custom-price">
  <li>Event Date:
    <p>Tue, 25 Jun 2019 02:14 AM - Tue, 25 Jun 2019 03:14 AM</p>
  </li>
  <li>Event Location:</li>
  <li>Teal Moonlight x 1: <span class="woocommerce-Price-amount amount"> <span class="woocommerce-Price-currencySymbol">$</span>3</span>
  </li>
</ul>
m4n0
  • 29,823
  • 27
  • 76
  • 89

1 Answers1

0

set Tagname for that "event date" tag and apply below css

.Tagname:before {
  content: "New Word";
}
Khalid Khan
  • 3,017
  • 1
  • 11
  • 27