Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Color setup


brendalee

Recommended Posts

Does anybody know how to change the background color on the input fields such as e-mail address, customer name, country and the like. I have been all through the stylesheet and nothing seems to make a difference. I am able to change the background color on inputs that are "not required" but the "required" inputs seem to be hard coded to a pale yellow.

 

Any help would be greatly appreciated

Link to comment
Share on other sites

You can create a class for them in the stylesheet, then do things like:

 

                <td class="main"><?php echo tep_draw_input_field('firstname', '', 'size="10" class="inputfield" maxlength="30"') . ' ' . (tep_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?></td>

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...