When your website means business.

Snippets: Forms

Change background and color of Chrome autofill»

.top .search-form input:-webkit-autofill, .top .search-form input:-webkit-autofill:hover, .top .search-form input:-webkit-autofill:focus, .top .search-form input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 100px #222 inset !important; -webkit-text-fill-color:#fff!important; }
CSS, Forms | Type: CSS

Gravity Forms Ready Classes»

Add classes to GF form fields; these are the most commonly used, but look at the others also.
CSS, Forms | Type: CSS

Make Gravity Forms 2.6+ Compatible with Ozh Admin Menu»

Add this to adminmenu.css.php in the plugin’s inc file (if Ozh updates, must be re-added): div.wrap.gforms_edit_form.gforms_form_settings_wrap, body.forms_page_gf_entries.auto-fold .gforms_edit_form { top:30px!important; }
Forms | Type: CSS

Rendering a Readable Date from Start Date»

$mtgdate = DateTime::createFromFormat('Ymd', $startdate)->format('F j, Y'); echo '<p class="read-more"><a href="'.$formurl.'?mtgdate='.$mtgdate.'">'.$linktext.'</a></p>';
Date/Time, Forms, PHP | Type: PHP

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Cookies Notice