<?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: Styling unread form entries in dashboard</title>
		<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard</link>
		<description>Gravity Support Forums Topic: Styling unread form entries in dashboard</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:48: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/styling-unread-form-entries-in-dashboard" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-245544</link>
			<pubDate>Fri, 10 May 2013 00:19:09 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">245544@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We have added classes to the dashboard elements in version 1.7 so that you can style your Gravity Forms widget.  You can find the selectors here: &#60;a href=&#34;http://pastie.org/7700709&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/7700709&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is a screenshot targeting some of those elements: &#60;a href=&#34;http://i.imgur.com/AvspL4y.jpg&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/AvspL4y.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is a plugin you can use to target your WordPress admin CSS without having  to worry about losing your changes on upgrade: &#60;a href=&#34;http://wordpress.org/extend/plugins/add-admin-css/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/add-admin-css/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you for the suggestion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-142480</link>
			<pubDate>Tue, 05 Feb 2013 09:31:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">142480@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Agreed.  I sent it to the development team.  Hopefully we can get it into a future release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shayh on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-142294</link>
			<pubDate>Tue, 05 Feb 2013 05:32:15 +0000</pubDate>
			<dc:creator>shayh</dc:creator>
			<guid isPermaLink="false">142294@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, thanks again for taking the time to look into this. I'll take a look at your suggestion of using the above css selector and jquery to see if I can get it the way the client would like it. &#60;/p&#62;
&#60;p&#62;Would be nice if the devs could consider adding a specific class to the widget for future releases :)&#60;/p&#62;
&#60;p&#62;Appreciate all your help,&#60;br /&#62;
Shay
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-142016</link>
			<pubDate>Tue, 05 Feb 2013 00:03:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">142016@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry, I was unclear from your first post.  You want to change the display of the information in the form widget, not in the list of entries?    It does not appear there are any classes applied to the widget columns which we can use.  I'll check with the developers about the possibility of adding some.&#60;/p&#62;
&#60;p&#62;I was able to target the unread column in the widget by adding this CSS to the admin, but that highlights the number, no matter what it is (even if there are zero unread.)&#60;/p&#62;
&#60;p&#62;Screenshot: &#60;a href=&#34;http://minus.com/lxjFDVXmYHEdo&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/lxjFDVXmYHEdo&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#rg_forms_dashboard tr td:first-child + td a {
    color:green!important;
    font-size:24px!important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could use jQuery to remove the custom style (from above) from the table data cell when it didn't contains a zero, using the .contains selector: &#60;a href=&#34;http://api.jquery.com/contains-selector/&#34; rel=&#34;nofollow&#34;&#62;http://api.jquery.com/contains-selector/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shayh on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-141495</link>
			<pubDate>Mon, 04 Feb 2013 10:42:06 +0000</pubDate>
			<dc:creator>shayh</dc:creator>
			<guid isPermaLink="false">141495@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, thanks for the quick reply on this. Just to confirm the client is looking to have the unread count on the admin dashboard widget highlight unread form counts.&#60;/p&#62;
&#60;p&#62;From looking at gravityforms.php (line 1090) it seems the the dashboard forms widget doesn't apply the .lead_unread class to the relevant table cell/anchor:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;td class=&#38;quot;column-date&#38;quot; style=&#38;quot;padding:8px 18px; text-align:center;&#38;quot;&#38;gt;&#38;lt;a style=&#38;quot;&#38;lt;?php echo $form[&#38;quot;unread_count&#38;quot;] &#38;gt; 0 ? &#38;quot;font-weight:bold;&#38;quot; : &#38;quot;&#38;quot; ?&#38;gt;&#38;quot; href=&#38;quot;admin.php?page=gf_entries&#38;amp;view=entries&#38;amp;filter=unread&#38;amp;id=&#38;lt;?php echo absint($form[&#38;quot;id&#38;quot;]) ?&#38;gt;&#38;quot; title=&#38;quot;&#38;lt;?php printf(__(&#38;quot;Last Entry: %s&#38;quot;, &#38;quot;gravityforms&#38;quot;), $date_display); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php echo absint($form[&#38;quot;unread_count&#38;quot;]) ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/td&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Shay
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-141419</link>
			<pubDate>Mon, 04 Feb 2013 09:45:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">141419@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can target unread entries in the admin.  They have a class of &#60;strong&#62;.lead_unread&#60;/strong&#62;.  You can use something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
.lead_unread td {
  background-color: yellow;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That will target the unread entries.  You want to add that CSS only to the admin pages though (adding that to your theme's stylesheet would not work.)    You can use a function like this in your functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
function load_custom_wp_admin_style() {
    wp_register_style( &#38;#39;custom_wp_admin_css&#38;#39;, get_stylesheet_directory_uri() . &#38;#39;/wp-admin.css&#38;#39;, false, get_bloginfo(&#38;#39;version&#38;#39;) );
    wp_enqueue_style ( &#38;#39;custom_wp_admin_css&#38;#39; );
}
add_action( &#38;#39;admin_enqueue_scripts&#38;#39;, &#38;#39;load_custom_wp_admin_style&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That will load a stylesheet called &#34;wp-admin.css&#34; in your admin pages only.  The file would have to be located in your theme directory.  And in it you would add just those couple lines I posted initially, targeting the unread entries.  Here is the WordPress reference for wp_enqueue_style: &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_enqueue_style&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_enqueue_style&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shayh on "Styling unread form entries in dashboard"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-unread-form-entries-in-dashboard#post-139959</link>
			<pubDate>Sat, 02 Feb 2013 20:19:53 +0000</pubDate>
			<dc:creator>shayh</dc:creator>
			<guid isPermaLink="false">139959@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I was hoping to find an easy way to style the unread form entries count on the dashboard. I have a client who finds it very hard to notice new unread entries on forms in the dashboard - yes he could/should use notifications but he'd like the dashboard to be a little more obvious when displaying these (maybe a background color, some padding around the anchor tag, etc).&#60;/p&#62;
&#60;p&#62;Any help would be much appreciated.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Shay
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
