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.

Serif font default...

  1. btickler
    Member

    Second question for today :)...

    My forms are using a Courier serif font that looks very different to the rest of my site...but before I try to change it I wanted to check a couple things:

    1. Is there a reason for staying with a fixed font in terms of form spacing or whatever? Will going to a proportional font hurt me in any way?

    2. What's the best way to do this? I know you guys use a lot of inheritance in your CSS, and I want to modify this at the correct point(s) vs. just trying a shotgun approach and changing fonts in each section and then seeing what gets hit ;).

    Posted 12 years ago on Tuesday June 21, 2011 | Permalink
  2. The default form styles don't specify a fixed-width font. That's most likely coming from your theme styles. Can you post a URL to your form so I can check it out.

    Posted 12 years ago on Tuesday June 21, 2011 | Permalink
  3. Okay, saw a URL to your form in another post. I'm not sure yet where the font declaration is coming from, but you can override it like this.

    [css]
    html body .gform_wrapper ul li, html body .gform_wrapper div {
        font-family: sans-serif!important;
    }

    screenshot: http://grab.by/api3

    Posted 12 years ago on Tuesday June 21, 2011 | Permalink
  4. btickler
    Member

    Cool :) thanks...I think it must be coming from the StudioPress stylesheet. I noticed they had a Gravity Forms section.

    Posted 12 years ago on Wednesday June 22, 2011 | Permalink