Sorry PRO. My bad. I think i didn't explained my self well.
On my product detail i want to have the same CSS of the Sale Price (#1 on the Image) for my custom field (#2 on the Image)
If you only use 1 language: you can do it like this in default_customfields.php
(I THINK this should work like you want, I did not test it)
What is does is separate the styling differently for that custom field position.
change "myposition" to YOUR position
defined ( '_JEXEC' ) or die ( 'Restricted access' );
?>
<div class="product-fields">
<?php
$custom_title = null;
foreach ($this->product->customfieldsSorted[$this->position] as $field) {
if ($field->layout_pos != myposition) {
if ( $field->is_hidden ) //OSP
http://forum.virtuemart.net/index.php?topic=99320.0 continue;
if ($field->display) {
?><div class="product-field product-field-type-<?php echo $field->field_type ?>">
<?php if ($field->custom_title != $custom_title) { ?>
<span class="product-fields-title" ><?php echo JText::_($field->custom_title); ?></span>
<?php
if ($field->custom_tip)
echo JHTML::tooltip($field->custom_tip, JText::_($field->custom_title), 'tooltip.png');
}
?>
<span class="product-field-display"><?php echo $field->display ?></span>
<span class="product-field-desc"><?php echo jText::_($field->custom_field_desc) ?></span>
</div>
<?php
$custom_title = $field->custom_title;
}
}}
?>
<?php
if (!empty($this->product->customfieldsSorted[$this->position])) {
foreach ($this->product->customfieldsSorted[$this->position] as $field ) {
if ($field->layout_pos == myposition) {
?><div class="my-pos">Pago Con Tarjeta <span class="product-price"><?php echo $field->display ?></span></div>
<?php
}
} }
?>
</div>