• I prefer to have all CSS styling in my stylesheet making it easier to create responsive layouts.
    To remove the inline styles I deleted the style info from each field in the the STYLES tab. However after saving the fields are re-populated with the default settings.
    Can this be amended to allow the fields to be blank but also have an option to reset to default values?
    Many thanks.

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Currently you can edit any of the css elements inline, or you can add class names to each of those style settings. example: class=”button”
    But that might be tedious, I admit. You can also copy styles from one form to another and you can back up your forms on the Tools tab

    I do get a few requests like yours, so let me explain what I might do.

    Have you ever used my SI CAPTCHA Anti Spam plugin?
    https://www.ads-software.com/plugins/si-captcha-for-wordpress/
    It has a setting:
    “Select the method of delivering the style:”
    your choices are:
    – Internal Style Sheet CSS(edit inline settings)
    – External Style Sheet CSS (use in your own style.css)
    If you click ‘help’ next to the setting, instructions and a sample style is shown for you to copy/paste.

    Here are the instructions that go with it:
    By default, the form styles are editable below when using “Internal Style Sheet CSS”. The CSS will automatically be included in the page <head> section. Premium themes may have already added support for SI CAPTCHA Anti-Spam style in the theme’s style.css. If that is the case, then select “External Style Sheet CSS” if instructed by the theme’s installation instructions. The CSS will NOT be included in the page <head> section, and it must be included in the style.css of the theme. Be sure to remember this if you switch your theme later on.

    Try it if you like to get an idea of what I am talking about.
    Is that what you want?
    I would have to do some more programming to add this feature, and it won’t happen for a week as I am on vacation.

    I have to maintain backwards compatibility, so the way is now will remain default.

    Thread Starter 2graphic

    (@2graphic)

    Thanks for taking the time to reply Mike. Yes, an option to use styles from an external style sheet and not add the inline styles is what I’d like. I realise you’ll need to keep the inline css option for backwards compatibility. Hope you can add this in due course. Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BETA: Can't remove inline styles’ is closed to new replies.