Support » Plugin: Contact Form 7 Style » Changing default padding and margins

  • Resolved hoffmaao


    We have just installed the plugin but seem to have difficulty changing padding to 0. We tried to change padding-bottom to 15px and change the others to zero, but the generated css will only have padding-bottom value, meaning the other padding will still have the default padding values.

    It seems that leaving the padding value empty or changing it to zero will have the same result – the default values will be used.

    Here is the page –
    If you click Send Message you will see the error messages having the problem mentioned. We set it to padding-bottom:15px and the rest to zero.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lehel Szilard Marosi



    We have just tried out your problem in our test environment, and the misbehavior persists in our Contact Form 7 form too, where we applied a custom style.

    As a temporary solution please use the CSS editor present in our Add-on. It should look like this:

    Where please add the following CSS snippet to resolve the problem:

    body .cf7-style.cf7-style-197 .wpcf7-not-valid-tip {
    	padding: 0 0 15px 0;

    P.S.: This will only change the currently active Custom style on your Contact Form 7 form.

    Thank you for your concern, we will add a fix in our next release.

    Best Regards,

    Plugin Author Lehel Szilard Marosi


    Hello hoffmaao,

    On the 6th of March 2017 we have released the 3.1.2 version of this plugin, where we fixed the issue. Now you can add 0 values for padding and margin properties.

    We have also added a functionality, which let’s the user to add decimal values for the “%” and the “em” units.

    Best Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing default padding and margins’ is closed to new replies.