Hi there! Thank for helping me! PLease see the /contact page for the result. The standard button and label is now partly visible in the field. But other unwanted effects are that the field hover has gone. Also previously the label was formatted to look nice and the standard button was not visible.
The dev also uses scss when he built the site and there is an _wpcf7.scss file which is maybe also effecting it? Here is the css for from the _wpcf7.scss file:
.sjb-page .sjb-filters form,
.sjb-page .sjb-detail .jobpost-form,
.wpcf7-form {
margin: 0;
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
input[type=”search”] {
box-sizing: border-box;
}
input[type=”file”] {
display: block
/*
margin: 0;
padding: 0 0 0 35px;
height: 100%;
line-height: inherit;
left: 0;
z-index: 0;
opacity: 1;
*/
}
input::-ms-clear {
display: none;
}
select::-ms-expand {
display: none;
}
label {
margin: 0 0 5px;
.required {
color: inherit !important;
font-size: inherit !important;
}
}
select,
textarea,
input[type=”text”],
input[type=”password”],
input[type=”email”],
input[type=”tel”],
input[type=”search”],
.file {
display: block;
width: 100%;
outline: 0;
border: 0;
margin: 0;
padding: 15px;
height: auto;
line-height: 20px;
background-color: rgba(#ffffff, .8);
border-radius: 3px;
transition: all .2s ease;
font-size: 1em;
font-weight: normal;
font-style: normal;
color: #444444;
box-shadow: none;
&:hover,
&:focus {
background-color: #ffffff;
}
}
$input-select-icon: url(“data:image/svg+xml;charset=utf8,%3Csvg xmlns=’https://www.w3.org/2000/svg’ viewBox=’0 0 320 512’%3E%3Cpath fill=’#666′ d=’M151.5 347.8L3.5 201c-4.7-4.7-4.7-12.3 0-17l19.8-19.8c4.7-4.7 12.3-4.7 17 0L160 282.7l119.7-118.5c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17l-148 146.8c-4.7 4.7-12.3 4.7-17 0z’/%3E%3C/svg%3E”);
select {
padding-right: 50px;
background: rgba(#ffffff, .8) $input-select-icon no-repeat right 15px center;
background-size: 20px 20px;
-webkit-appearance: none;
}
input[type=”search”] {
-webkit-appearance: none;
}
textarea {
resize: vertical;
}
}
.wpcf7-form {
.wpcf7-form-control-wrap {
display: block;
margin-bottom: 20px;
}
.wpcf7-checkbox {
input {
margin: 3px 5px 0 0;
vertical-align: top;
}
.wpcf7-list-item-label {
display: inline-block;
margin: 0;
line-height: 20px;
vertical-align: top;
}
}
}
.sjb-page .sjb-detail .jobpost-form {
.form-group {
margin: 0 0 20px;
&:last-child {
margin-bottom: 0;
}
}
.file div {
background: #3398db;
border-radius: 3px;
font-size: 14px;
height: 40px;
padding: 10px;
line-height: 20px;
right: 5px;
top: 5px;
transition: all 0.2s ease;
}
.file:hover div {
background: darken(#3398db, 5%);
}
.app-submit {
margin: 0;
}
}
thanks again for any help.