For those that do webdesign, I need some help. I'm working on a student organization website at my university. Luckily, wordpress is a simple tool that basically let me do as much as i could without any knowledge in CSS or HTML of that sort. But right now, the contact form on my website is the same color text as the background, so when you go to enter in your information/question, you can't read shit.
I'm trying to change the color, but it looks like I have to manually input a code to change the color of the text. The following is what I got from the Contact form.php ... but honestly I have no idea what I'm doing.
'<?php
add_action('wp_ajax_om_ajax_contact_form', 'om_ajax_contact_form');
add_action('wp_ajax_nopriv_om_ajax_contact_form', 'om_ajax_contact_form');
function om_ajax_contact_form() {
if ( get_magic_quotes_gpc() ) {
$_POST = stripslashes_deep( $_POST );
}
$email = get_option(OM_THEME_PREFIX.'form_email');
if(!$email)
{
echo '1';
die();
}
$html='<h3>'.__('Contact Form', 'om_theme').'</h3>';
$html.='<table border="1" cellpadding="5"><tr><td>'.__('Date', 'om_theme').'</td><td>'.date('F j, Y H:i').'</td></tr>';
if(is_array(@$_POST['fields'])) {
foreach($_POST['fields'] as $k=>$v) {
$html.='<tr><td>'.base64_decode($k).'</td><td>'.str_replace("\n",'<br/>',htmlspecialchars($v)).'</td></tr>';
}
}
$html.='</table>';
add_filter('wp_mail_content_type',create_function('', 'return "text/html";'));
if( wp_mail( $email, __('Contact form filled','om_theme'), $html ) )
echo '0';
else
echo '1';
die();
}'
The code is within the ' '