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.

GF (forms.css) overriding theme (style.css)

  1. Hi there. I'm using some of your FAQ-suggested code to modify my theme's style.css file, but these seem to be getting overwritten by GF's styles. When I inspect elements in Firebug, forms.css styles are showing up as higher in the stack than style.css, so my customizations are not taking (or rather, are getting redefined by GF instead of the other way around).

    Examples:
    1) Bullets: code (from your FAQ) to remove bullets is in my style.css file

    2) Removing "max characters" warnings from displaying when max characters are defined: code added to style.css from http://www.gravityhelp.com/forums/topic/turn-off-0-of-15-max-characters

    You can see that bullets and max character warning lines are showing up in 2 different forms (one in the body, one in a widget) here:
    http://www.bigmoves.org/staging/about/contact-us/

    The following code is definitely in my style.css:

    /* remove gform bullets */
    body .gform_wrapper form .gform_body ul,
    body .gform_wrapper form .gform_body ul li {
    	list-style-type:none!important;
    	list-style-image:none!important;
    	list-style:none!important;
    	background-image:none!important;
    	background:none!important;
    	padding:0!important;
    	margin:0!important
    }
    
    .charleft.ginput_counter.warningTextareaInfo {
    display: none;
    }

    Thoughts? Do I need some function to force style.css to take precedence? Have you encountered this before? I couldn't find it through searching the forum here.

    Many thanks.

    Posted 11 years ago on Friday March 22, 2013 | Permalink
  2. Handling via priority support.

    Posted 11 years ago on Friday March 22, 2013 | Permalink

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