The styles are going to be located in your theme/child theme's styles.css file in your theme folder, or within the plug-in directory itself. However, you won't want to edit the code in the plug-ins directory, because this will typically be overwritten in the event of an update to the plugin. Same goes w/ themes. That is why it's best practice to use a child theme. However, I too am having difficulty finding out how to overwrite the styles that are located in the plugin directory because I want to keep my edits independent of the pre-fab styles that come w/ the plug-in.
I'd suggest downloading firebug for FireFox if you use that browser. It will show you all those directories by highlighting code. There are other tools, as well, but this is what I use.
What is the best practice way to store css overwrites of built-in gravity forms styles? For instance, I want to edit:
.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] {
font-family: inherit;
font-size: 11px;
letter-spacing: normal;
outline-style: none;
padding: 2px 0;
}
in the forms.css file, but I'm not sure where to put this. Normally, I would put the new/revised style in my styles.css file in my child theme so there are no complications w/ future updates. Please advise.
Posted 12 years ago on Thursday June 7, 2012 |
Permalink