<?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: Errors Styling Issue</title>
		<link>https://legacy.forums.gravityhelp.com/topic/errors-styling-issue</link>
		<description>Gravity Support Forums Topic: Errors Styling Issue</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:27:51 +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/errors-styling-issue" rel="self" type="application/rss+xml" />

		<item>
			<title>Paal Joachim on "Errors Styling Issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/errors-styling-issue#post-62267</link>
			<pubDate>Tue, 12 Jun 2012 11:18:47 +0000</pubDate>
			<dc:creator>Paal Joachim</dc:creator>
			<guid isPermaLink="false">62267@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you very much for the piece of code Richard!&#60;/p&#62;
&#60;p&#62;To remove the top error message one can add a display:none. The below code is what Richard suggested (I am not using the first li code though, as I have not seen a reason yet  why to use it) and I then added a display: none to it. From my tests it seems to work fine.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Error message on the top */
body .gform_wrapper .validation_error{
	margin-top:10px;
	padding:5px;
	background-color:#f9d400;
	border:1px solid #c89797;
	display: none;
}

/* Validation errors that comes up by each field */
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
	border:1px solid red;
	background-color:#f9d400;
	width:50%;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>adamdanielmedia on "Errors Styling Issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/errors-styling-issue#post-47146</link>
			<pubDate>Mon, 23 Jan 2012 14:35:23 +0000</pubDate>
			<dc:creator>adamdanielmedia</dc:creator>
			<guid isPermaLink="false">47146@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This helps perfectly, thank you. Loving Gravity Forms!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Errors Styling Issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/errors-styling-issue#post-47071</link>
			<pubDate>Sun, 22 Jan 2012 06:00:18 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">47071@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, you can't actually replace the huge error box because that box is actually the li that contains the field label, inputs and description, it just has extra styles applied when validation fails so what you will have to do is override those extra styles so it doesn't look any different than the normal li,  add the following to your themes main or custom stylesheet.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body .gform_wrapper .gform_body .gform_fields .gfield_error{background:#fff;border:0;margin:0 !important;padding:0 !important}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now that the li error styles are looking like a standard li again you can now style the error message, again add the following css to your stylesheet, you can change the border, background color, width, padding and margins to whatever gets the appearance you are looking for.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {border:1px solid red;background-color:#f9d400;width:50%}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you also want to style the main error message that appears at the top of the form you would add and modify the following&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;body .gform_wrapper .validation_error{margin-top:10px;padding:5px;background-color:#f9d400;border:1px solid #c89797}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope this helps
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adamdanielmedia on "Errors Styling Issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/errors-styling-issue#post-47062</link>
			<pubDate>Sat, 21 Jan 2012 17:54:26 +0000</pubDate>
			<dc:creator>adamdanielmedia</dc:creator>
			<guid isPermaLink="false">47062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've been unable to find a way to change the default style of validation errors: a huge box that surrounds the indicated field. I can change details like color, but not the overall style.&#60;/p&#62;
&#60;p&#62;I'd like to replace the huge box with a small box that only shows below the field in question, not all around it, with the error message text inside.&#60;/p&#62;
&#60;p&#62;Is this possible?&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
