Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

css class


Guest

Recommended Posts

Posted

How can i add a css class for the ' input type="text" ' fields in this files:

 

catalog/login.php

catalog/create_account.php

catalog/contact_us.php

catalog/advanced_search.php

catalog/checkout_payment.php

 

I can't find there the ' input type="text" ' code only this code

<?php echo tep_draw_input_field('email_address'); ?>

But i need to add a class there like this

' input type="text" class="colored" '

 

thanks.

Posted
I can't find there the ' input type="text" ' code only this code
<?php echo tep_draw_input_field('email_address'); ?>

But i need to add a class there like this ' input type="text" class="colored"'

<?php echo tep_draw_input_field('email_address', 'class="colored"'); ?>

Christian Lescuyer

Posted

Thanks very much for your Answer. Thats it nearly. with the code you wrote i got my class as the field value but when i added an empty string for the value like this

<?php echo tep_draw_input_field('email_address', '', 'class="colored"'); ?>

it is working perfectly. :D

Posted

No Problem. I've find it out myself so everything is fine now. Important for me was that clue from you. :lol:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...