Need to chnage additional information tab headings iin Woocommerce.

Is there an easy way to change headings "Weight" & "Dimensions" below to "Shipping Weight" & "Shipping Size" ?

<div class="woocommerce-Tabs-panel woocommerce-Tabs-panel--additional_information panel entry-content wc-tab" id="tab-additional_information" role="tabpanel" aria-labelledby="tab-title-additional_information">
				
	<h2>Additional information</h2>

<table class="shop_attributes">
			<tr>
			<th>Weight</th>
			<td class="product_weight">250 g</td>
		</tr>
	
			<tr>
			<th>Dimensions</th>
			<td class="product_dimensions">98 x 108 x 14.5 mm</td>
		</tr>
	
			<tr>
			<th>Size</th>
			<td><p>95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150</p>
</td>
		</tr>
			<tr>
			<th>Application</th>
			<td><p>Nail On, Glue On</p>
</td>
		</tr>
	</table>
			</div>

Open in new window

sabecsAsked:
Who is Participating?
 
Vijaya KumarConnect With a Mentor Commented:
you can do it by css if u want...
refer the below code

<style>
tr:nth-child(1) th {
  font-weight: bold;
  color:red;
  content:"Demo1";
}
tr:nth-child(2) th {
  font-weight: bold;
  color:red;
  content:"Demo2";
}
</style>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.