• Just quick request is to add CSS class hooks to style the contact form. I love this contact form but the method it uses for adding styles to the page is a pain adding to download size. Hooks are more ‘semantically’ correct these days rather than using in-line styles.

    Whilst I appreciate you can style the form from the interface, generally it’s usually a fire and forget plug-in once enabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can I use an external stylesheet instead of the inline css in advanced
    options?

    External vs. internal it has pros and cons.
    I made it inline because the settings survive plugin upgrades and can be easily tweaked.

    You can bypass the inline style and make your own stylesheet,
    here is how:
    Look in the advanced options where you have the Inline CSS settings.
    Each setting can be changed to a class property if you prefer.
    For example:
    The setting “CSS style for form input fields DIV on the contact form:”
    can be changed from:
    text-align:left;
    to:
    class=”input”

    Now you can use the input class of an external stylesheet.

    You can repeat this for each CSS setting.

    Mike

    Thread Starter Daris_Fox

    (@daris_fox)

    Hi Mike,

    Thanks for that, it’ll make my life a lot easier as I’m doing some heavy duty optimisations of CSS/HTML output so any reductions are a bonus for speed in addition to applying OOCSS principles.

    Also it’s great to see such a quick response. So once again thanks for creating this plug-in.

    D.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Fast Secure Contact Form] Feature request: CSS Hooks’ is closed to new replies.