Placeholder text same in each box/spacing is all off
-
Hi there,
I have a number of probs with the widget. Please see the development site http://www.dbactive.com. I’ve placed the subscription form at the right of the footer.
1) I’ve added placeholder information as advised in another thread in this forum, but I cannot work out how to add placeholder info for the Firstname and Lastname boxes – in fact I can’t find any code in the widget php file that relates to these two boxes – I can find code for address, phone number, birthdays etc, but not names. Please can you tell me the code I need and where to add it?
At the moment the text “email address” appears in all three boxes
This is what I added per the instructions in a different thread:
<input type=”text” size=”4″ maxlength=”4″ value=”” name=”‘.esc_attr($opt.'[detail2]’).'” id=”‘.esc_attr($opt.’-detail2′).'” class=”mc_input mc_phone” />
‘;
break;
case ’email’:
case ‘url’:
case ‘imageurl’:
case ‘text’:
case ‘number’:
default:
$html .= ‘
<input type=”text” size=”18″ value=”‘.esc_html($var[‘default’]).'” name=”‘.esc_attr($opt).'” id=”‘.esc_attr($opt).'” class=”mc_input” placeholder=”Email address”/>’;2) The spacing is all off. All the three boxes are bunched up together but the submit button is floating off down below somewhere. Also, the boxes start way below the line of text I’ve added asking people to sign up.
Thanks for your help
- The topic ‘Placeholder text same in each box/spacing is all off’ is closed to new replies.