Forum Moderators: not2easy
<div class="et_pb_contact_right">
<p class="clearfix">
5 + 14 =
<input class="input et_pb_contact_captcha" type="text" name="et_pb_contact_captcha" value="" size="2">
</p>
</div> .et_pb_contact_captcha p input, .et_pb_contact_captcha p textarea {width:30% !important;} .et_pb_contact p input, .et_pb_contact p textarea {
background-color: #eee;
border: medium none !important;
border-radius: 0 !important;
box-sizing: border-box;
color: #999 !important;
font-size: 14px;
padding: 16px;
width: 100% !important;
} <input class="input et_pb_contact_captcha" type="text" name="et_pb_contact_captcha" value="" size="2"> .et_pb_contact
p
input,
.et_pb_contact
p
textarea p as a selector is applying a width of 100% to all paragraphs that do not have a class or a class specified in the css - same for input. What is the width in your css for p.clearfix? Try either: p.clearfix {width: 30%;} IF there are no other <p class="clearfix"> on the pages that use the same css file. Or use: input.et_pb_contact_captcha {width:30%;} et_pb_contact_captcha from that section of the css you posted where it has a width variable of 100%. Do any of the following work?
.et_pb_contact_right input
.et_pb_contact_right p input
.et_pb_contact_right input["text"]
.et_pb_contact_right p input["text"]
.et_pb_contact_right input["text"].et_pb_contact_captcha
.et_pb_contact_right p input["text"].et_pb_contact_captcha
{width:30%;}was struck through, so it was being overridden by the
.et_pb_contact p input, .et_pb_contact p textarea input instead.
home_contact_form_id (don't ask*). <div id="home_contact_form_id"> #home_contact_form_id .et_pb_contact_captcha p input, #home_contact_form_id .et_pb_contact_captcha p textarea {width:30%;} home_contact_form_id