Home>Support>Missing unit in padding for submit button in contact form widget

Missing unit in padding for submit button in contact form widget

As per the subject.
When using Contact Form widget and styling the submit button with custom padding the generated dynamic CSS is missing unit (px).
Example: When changing padding to 25 with “px” selected as units the front end generated CSS style is:

.so-widget-sow-contact-form-default-9766b3acb4a7 .sow-contact-form .sow-submit-styled .sow-submit {
    color: #ffffff;
    background: #474747;
    border: 0 solid #989a9c;
    border-radius: 0px;
    font-weight: normal;
    padding: 25 50;
    display: inline-block;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07000000000000001);
}

WP version: 4.9.5
Plugin version: 2.6.7
Widgets Bundle: 1.11.8

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 4 months ago Alex S
    Hi, I Work Here

    Hi,

    That’s odd. Would it be possible for you to send me an export for this widget? To do this please open up the linked page in the editor and click the Layout button in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as teknik.io.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More