PDA

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


trilogy33
17 Jan 2010, 12:51
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