
Originally Posted by
Gomlers
finally - i can't believe I didn't think of the CSS file.. LOL!
But I solved it like this, if anyone else wonders:
In /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php:
find this line:
<?php echo zen_draw_input_field('postcode', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '20') . ' id="postcode"') . (zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?>
change to this:
<?php echo zen_draw_input_field('postcode', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_postcode', '20') . ' id="postcode" class="YOUR_NEW_CLASS"') . (zen_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="alert">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?>
name "YOUR_NEW_CLASS" whatever your want
in your: /includes/templates/YOUR_TEMPLATE/css/stylesheet.css
make the class like this:
input.YOUR_NEW_CLASS {
width: 130px;
- any other type of attributes here as wanted
}
you can of course attach your new class to all of the other input fields too if you want them to look the same.
Hope it helps someone, sometime ;)
That's way to much work dude. Like I said it's controlled through the css file and all you had to do was add:
Code:
#postcode {
width: 120px;
}
If you are using firefox, download firebug and developers toolkit.
Hitting CTRL+SHIFT+F, then you can click on things and it tells you info about it.