No replies
StephenGWills's picture
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/07/2007
Juice: 414
Was this information Helpful?

I just hacked uc_store.module and added:

<?php
function uc_textfield($title...  other stuff) {
  if(
is_null($title)|| other stuff....

//steve added as alignment fix.
if (!$required) { $title = '&nbsp;&nbsp;'.$title; }

$textfield = array(
 
other stuff...
?>

before the textfield definition in uc_textfield so that the titles would line up under one another irrespective of being required or not. Is there a better way to do this? CSS maybe? in which case, should there be required vs. non-required div wrappers?