PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How can I change background colour

  1. stuuk
    Member

    Hi guys, can you point me in the right direction.

    I want to change the background colour of one of my forms.

    What do I need to edit to do this.

    I am using Version 1.4.4, and I am ok with CSS design

    Posted 13 years ago on Tuesday November 9, 2010 | Permalink
  2. What background color do you want to change? The form itself or the inputs? If you can post a link to your form, that might help too.

    Posted 13 years ago on Tuesday November 9, 2010 | Permalink
  3. stuuk
    Member

    Hi Kevin,

    The form itself. Just want the form to stand out a little better

    Posted 13 years ago on Saturday November 13, 2010 | Permalink
  4. this will apply to the form wrapper

    body .gform_wrapper {background:#f00}

    or this to just the actual form element inside the wrapper

    body .gform_wrapper form {background:#f00}

    If you only want to change one form, you would use the form ID - replace the XX with your actual form ID.

    body #gform_wrapper_XX {background:#f00}

    Posted 13 years ago on Saturday November 13, 2010 | Permalink
  5. stuuk
    Member

    Great thanks.

    Which CSS file am I editing?

    Posted 13 years ago on Saturday November 13, 2010 | Permalink
  6. I can't tell you for sure. It all depends on your theme and how it's built. Usually, it's style.css in your theme folder. Sometimes it's called layout.css or main.css. Themes like Thesis and Headway have a place in the theme admin to put custom css rules and some theme developers like Woo Themes have a custom.css file where you're supposed to put custom rules.

    If you're not really sure, I'd suggest contacting your theme developer and asking.

    Posted 13 years ago on Saturday November 13, 2010 | Permalink