I don't understand PHP at all, but I decided to twiddle around with the tpl_contact_us_default.php file located in /includes/templates/template_default directory
I gave the 'fieldset' tag the 'centerBoxWrapper' class, and added / rearranged some line breaks with the 'clearBoth' class for a cleaner look - I also removed the red lettered alert text, because it was floating too far left with my revisions (customers mostly know what a red asterisk means) - here is my revised code for lines 48 - 78:
Code:
<br class="clearBoth" />
<legend><?php echo HEADING_TITLE; ?></legend>
<fieldset class="centerBoxWrapper" id="contactUsForm">
<br class="clearBoth" />
<?php
// show dropdown if set
if (CONTACT_US_LIST !=''){
?>
<label class="inputLabel" for="send-to"><?php echo SEND_TO_TEXT; ?></label>
<?php echo zen_draw_pull_down_menu('send_to', $send_to_array, 0, 'id="send-to"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
<br class="clearBoth" />
<?php
}
?>
<label class="inputLabel" for="contactname"><?php echo ENTRY_NAME; ?></label>
<?php echo zen_draw_input_field('contactname', $name, ' size="40" id="contactname"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
<br class="clearBoth" />
<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>
<?php echo zen_draw_input_field('email', ($email_address), ' size="40" id="email-address"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
<br class="clearBoth" />
<label class="inputLabel" for="enquiry"><?php echo ENTRY_ENQUIRY . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?></label>
<br class="clearBoth" />
<?php echo zen_draw_textarea_field('enquiry', '30', '7', $enquiry, 'id="enquiry"'); ?>
</fieldset>
here is the finished result, which works for me:
http://rastaheadwraps.com/index.php?...age=contact_us
I hope this will help anyone having the same problem. Isn't open source just great? Thank you, Zen Team, for a very nice ecommerce software!
Bookmarks