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.

Different css of .gform_wrapper for every form

  1. Can I use different wrapper for every form? I was trying to use .gform_wrapper_7 for form ID=7 but it doesn't work :(

    .gform_wrapper {
        background-color: #EF8DB4;
        border: 4px solid #E6BFCD;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        color: black;
        float: left;
        margin: 25px 40px;
        overflow: inherit;
        padding: 10px;
    }
    .gform_wrapper_7 {
        background-color: #000000;
        border: 4px solid #FFFFFF;
        margin: 25px 40px;
    }

    What am I doing wrong? It always shows default .gform_wrapper and NOT .gform_wrapper_7

    Posted 11 years ago on Monday July 8, 2013 | Permalink
  2. Richard Vav
    Administrator

    Hi Daniel,

    When targeting IDs you need to prefix your CSS selector with # instead of .

    http://www.gravityhelp.com/documentation/page/Design_and_Layout

    Regards,

    Posted 11 years ago on Monday July 8, 2013 | Permalink

This topic has been resolved and has been closed to new replies.