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.

Form Edge Cut Off

  1. chriswanamaker
    Member

    After updating to the latest release, the left edge of my forms are cut off and I cannot seem to find where in the CSS file to adjust this. You can view exactly what it's doing here:

    http://www.wanamakersports.com/our-services/action-photography/

    Any ideas?

    Posted 14 years ago on Friday June 11, 2010 | Permalink
  2. It's a style in you theme that's causing the issue. Line 816 of your style.css file declares a negative text indent for all list items.

    You can override this for your forms by using this.

    [css]
    .entry .gform_wrapper li {text-indent:0}

    You can see my test screenshot with the rule applied.

    Posted 14 years ago on Friday June 11, 2010 | Permalink
  3. I am having the problem. However, when I add the ".entry .gform_wrapper li {text-indent:0}" in my css file. It still doesn't work. Here is the link: http://applenutritioncenter.com/

    Posted 13 years ago on Tuesday September 13, 2011 | Permalink
  4. That's because your wrapper isn't inside an "entry" class div wrapper that I can see, and also be cause the text-indent property isn't the source of your problem. That solution was unique to the previous poster's issue.

    Your problem is a negative left margin value being applied to the list items that contain the form fields. Along with that, there's extra padding that's causing an issue lastly, those list items are inheriting background images - all of this originating from your theme styles.

    Try removing the previous rule you added to your theme stylesheet - it's not needed and replace it with this.

    [css]
    body .art-post .gform_wrapper li {
    	margin-left: 0 !important;
    	padding-left: 0 !important
    
    }
    
    body .art-post .gform_wrapper ul > li {
    	background-image: none !important;
    	background: none !important
    
    }

    screenshot: http://bit.ly/nOQ61p

    Hope that helps.

    Posted 13 years ago on Tuesday September 13, 2011 | Permalink