Log in

View Full Version : [HOW TO - vB4] Postbit Legacy Location Field Alignment


trilogy33
01-16-2010, 10:00 PM
To quickly and neatly align a long 'ish location field entry in postbit legacy, preventing a wrap mess.
Ideal for UK town and county entries, for my purposes anyway. :)

In postbit_legacy

Find
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>

Replace with
<vb:if condition="$post['field2']"><dt style="height: 15px;">{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>


Result.
Before:

http://www.mx5nem.org.uk/images/postbit_location_align1.jpg

After:

http://www.mx5nem.org.uk/images/postbit_location_align2.jpg