@takayukister I read the whole article, but still can’t do this. Could you give me a bit more help?
@edit
What I did?
Basically, I added an id in Form editor:
[submit id:button "Wy?lij"]
than I added this into CSS, but nothing happen.
#submit
{
padding:12px 24px;
background:#232d87;
font-size: 15px;
color:#fff;
font-weight:bold;
border:0 none;
-webkit-border-radius: 0px;
padding-top: 15px;
padding-right: 30px;
padding-bottom: 15px;
padding-left: 30px;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 1;
text-align: center;
cursor: pointer;
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
transition-timing-function: ease;
}
It changed to default button…
My button works with this code:
.wpcf7 input[type=submit] {
padding:12px 24px;
background:#232d87;
font-size: 15px;
color:#fff;
font-weight:bold;
border:0 none;
-webkit-border-radius: 0px;
padding-top: 15px;
padding-right: 30px;
padding-bottom: 15px;
padding-left: 30px;
text-transform: uppercase;
letter-spacing: 1px;
line-height: 1;
text-align: center;
cursor: pointer;
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
transition-timing-function: ease;
}
input.wpcf7-form-control.wpcf7-submit:hover {
background-color:#004d9b;
}
but it’s only the shape, color etc. And I want button to be center on mobile screens.
-
This reply was modified 5 years ago by n0rbis.