wordpress-theme / css / page.css
page.css
Raw
.page-img-wrapper{
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.page-img-wrapper img{
    height: 90%;
    width: 90%;
    object-fit: cover;
}

.wpforms-form input[type=submit], 
.wpforms-form button[type=submit] {
    background-color: var(--white) !important; 
    color: var(--black) !important; 
    padding: 1px !important; 
    border: none !important; 
    width: 120px !important; 
    height: 40px !important; 
    transition: all 0.3s !important; 
    align-items: center !important; 
    margin-top: 20px !important;

}
.wpdevelop input{ color : black !important;  }
.wpdevelop textarea{ color : black !important;  }

.wpforms-form input[type=submit]:hover, 
.wpforms-form button[type=submit]:hover{
    background-color: var(--yellow) !important; 
}

.wpforms-form .wpforms-field.wpforms-field-text{
    width: 100%;
}
.wpforms-form .wpforms-field.wpforms-field-textarea{
width: 70%;
}

.template-text-over-img{
    width: 90%;
    margin: auto;

}
.template-text-over-img img{
    width: 100%;
    position: relative;
    opacity: 0.4;
    background-size: cover;
}
.heading-template{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    text-align: center;
}
.heading-template{
    text-align: left;
}

@media only screen and (max-width: 799px){
    .heading-template{
        top: 40%;
    }

}