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 Indent

  1. I've searched through the archives and recognise that this question has come up several times. Being pretty hopeless with anything code related, the suggested changes I have tried to make have not worked and took up most of yesterday.

    This is the form ( http://clportraits.co.uk/contact/ ) and quite simply I'm trying to get the information fields to not indent. I'm working with a WYSIWYG theme editor, but there is also a custom css section I can add to. The form is loaded with output css set to yes. Saying no to that option and I'm still stuck with the indent, but there are also bullet points.

    Have you any suggestions, please bearing in mind that I'm a complete novice?

    As an aside, I would love even the simplest visual editor to change font sizes and colours in any future upgrade... probably been requested a few times I'm sure.

    Thanks for your help,
    Ciaran

    Posted 13 years ago on Friday May 13, 2011 | Permalink
  2. the problem is a left margin property being applied to the containing list item in your style.css file on line 1109. You can add this to the end of your style.css file and it will override that rule.

    [css]
    .entry-content .gform_wrapper ul li {
        margin-left: 0!important;
    }

    screenshot: http://grab.by/a7CL

    Thanks for the suggestion. I'm sure we'll add some type of styling options in the future. For now, it's really easy to target and change the elements like fonts with some simple CSS. You can find examples of how to properly do that in the documentation here.

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

    for example: Changing a label color/font

    [css]
    body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {color:red; font-family:sans-serif;}
    Posted 13 years ago on Friday May 13, 2011 | Permalink
  3. Brilliant! Really I should have asked earlier. Could have saved myself a load of time. Many thanks.

    Posted 13 years ago on Friday May 13, 2011 | Permalink

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