This is already on the feature list. It may make the final 1.5 release or may end up in 1.6. I'm not sure just yet.
In the mean time, you can use a little bit of jQuery added to your theme header or page template to move the descriptions above the fields. The snippet below assumes you already have jQuery properly enqueued in your theme.
EDIT: Make sure you place this snippet AFTER where the jQuery library is enqueued.. right before the </ head> tag is a good choice.
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.gfield_description').each(function(i,e){
fielddesc = jQuery('<div>').append(jQuery(e).clone()).remove().html();
jQuery(e).siblings('label.gfield_label').after(fielddesc);
jQuery(e).remove();
});
});
</script>
You may have to tweak the description CSS to change the margins, padding a bit. It depends on your theme and your preferences.
Posted 13 years ago on Monday November 15, 2010 |
Permalink