Home › Forums › Back End › Adding class to tabs in php › Reply To: Adding class to tabs in php
September 24, 2014 at 12:12 pm
#184668
Participant
You are talking about the li
children of the .tabs ul
right?
Since by the looks that the tabs are generated by the ‘jigoshop’ plugin its probably not recommended to change any of the functions of that plugin because its possible that your changes get overwritten when you update the plugin.
In saying that you could look for the jigoshop_product_tabs
function and manually add your classes into the loop.
If it were me I would probably target the li
with a specific css instead. (If the only reason is for styling)
For example:
#product-tabs ul.tabs li {
/* styles */
}