<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: CSS Overriding Layout</title>
		<link>https://legacy.forums.gravityhelp.com/topic/css-overriding-layout</link>
		<description>Gravity Support Forums Topic: CSS Overriding Layout</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:58:06 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/css-overriding-layout" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "CSS Overriding Layout"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-overriding-layout#post-115021</link>
			<pubDate>Sun, 06 Jan 2013 03:18:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">115021@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use the !important rule any time you find yourself unable to use a more specific selector to override a theme or plugin style.    Normally, you can do something like this to have a more specific rule in your stylesheet:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper form .gform_body
.gfield input[type=&#38;quot;text&#38;quot;] {&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The more specific your rule, the better chance you have of your rule being applied above all others.  You can read more about CSS specificity here:  &#60;a href=&#34;http://css-tricks.com/specifics-on-css-specificity/&#34; rel=&#34;nofollow&#34;&#62;http://css-tricks.com/specifics-on-css-specificity/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Daniel Schutzsmith on "CSS Overriding Layout"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-overriding-layout#post-114864</link>
			<pubDate>Sat, 05 Jan 2013 17:54:17 +0000</pubDate>
			<dc:creator>Daniel Schutzsmith</dc:creator>
			<guid isPermaLink="false">114864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure of the official way to do this, but I ended up overriding all of the GF styles by making sure I placed an !important in my declarations. So for example, this works quite nice:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.gfield input[type=&#38;quot;text&#38;quot;] {
    border: 1px solid #CCCCCC !important;
    border-radius: 2px 2px 2px 2px !important;
    color: #888888 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    padding: 6px !important;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>howardhyoung on "CSS Overriding Layout"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-overriding-layout#post-114854</link>
			<pubDate>Sat, 05 Jan 2013 17:34:11 +0000</pubDate>
			<dc:creator>howardhyoung</dc:creator>
			<guid isPermaLink="false">114854@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've read through the forums and I think I have the same problem that a lot of others have experienced where the theme's CSS is overriding the layout.  The preview looks perfect but when it's placed on a page it doesn't look good.  &#60;/p&#62;
&#60;p&#62;I went through the style.css but I'm not sure where the problem lies.  I'm assuming it's in this section of code. Any thoughts?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;/* #Forms
================================================== */

	form {
		margin-bottom: 20px; }
	fieldset {
		margin-bottom: 20px; }
	input[type=&#38;quot;text&#38;quot;],
	input[type=&#38;quot;password&#38;quot;],
	input[type=&#38;quot;email&#38;quot;],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 13px &#38;quot;HelveticaNeue&#38;quot;, &#38;quot;Helvetica Neue&#38;quot;, Helvetica, Arial, sans-serif;
		color: #777;
		margin: 0;
		width: 110px;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select {
		padding: 0; }
	input[type=&#38;quot;text&#38;quot;]:focus,
	input[type=&#38;quot;password&#38;quot;]:focus,
	input[type=&#38;quot;email&#38;quot;]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px; }
	label,
	legend {
		display: block; }
	select {
		width: 120px; }
	input[type=&#38;quot;checkbox&#38;quot;] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
