Hi projecto,
1. Are you talking about in the “Additional Information” tab on the tabbed product page? If so, then the labels (i.e. the “Author:” part) are wrapped in their own divs, so you can easily isolate and hide them with some custom CSS. For example:
.upcp-tab-title {
display: none;
}
2. The categories, sub-categories and tags labels do also have the colon by default, it’s just that you can change them in the labelling options. You wouldn’t be able to remove the colon after the custom field label with just CSS. Unfortunately, the only way to do it at the moment would be directly in the code. This is generated in the “Shortcodes.php” file in the “Functions” folder. You could do a search for the following line of code:
$CustomFieldsString .= "'><h3>" . $Custom_Field->Field_Name . ":</h3></div>";
And just remove the colon before the </h3> tag.
It’s important to note, though, that any changes made here would be overwritten if you updated the plugin.
1. I’m talking about Thumbnail and Detail views of the catalogue, where the custom field is shown below the product name. Example here:
http://projectoadamastor.org/catalogo/
2. You are right, I forgot I had changed the labels because my website is in portuguese. I’ll just add the colons again, that way I won’t have to tinker with the code everytime I update the plugin.
Thank you.
Hi projecto,
To hide the “Autor:” label on the Thumbnail and Detail views of the catalogue, you can add this CSS to the Custom CSS box on the Edit Catalogue page:
.upcp-prod-desc-custom-fields.upcp-custom-field-details .upcp-cf-label,
.upcp-prod-desc-custom-fields.upcp-custom-field-thumbs .upcp-cf-label {display:none;}