PDA

View Full Version : Special Text Font for Listing Fields



PGGO
May 9, 2012, 04:51 AM
It will be great to be able add a special font or size for Listing Fields.
For instance to make a Title field in different color and size.

Viktor
May 9, 2012, 09:20 AM
Hello Petnax,

Do you mean that the user can modify the listing fields or you want change it manually in a code?
Please explain your idea in more details.

Mike
May 9, 2012, 11:27 AM
Hi,

We can implement it as customization, it's possible to add to the listing fields edit pages additional attributes - font-size, color etc. or maybe just extra style field which will be applied to the field, you will able to manage it through AP>Edit Field. Please submit a ticket in case you interested in a customization.


Alternatively you may set specific font size or color through editing style.css file in your template, or better create separate file for this and call the file from header.tpl

For example to change style of states field on listing details page, do following (states is field key)

Html code of field


<tr id="df_field_states">
<td class="name">States:</td>
<td class="value first"> Florida </td>
</tr>


so we can add style


#df_field_states td.value
{
color:red;
}

PGGO
May 10, 2012, 06:29 AM
Html code of field
Code:

<tr id="df_field_states">
<td class="name">States:</td>
<td class="value first"> Florida </td>
</tr>


Mike:

Thank you for info; however, where this code located?
In which file should I look for "Html Code of Field" in order to apply additional Styles?

Mike
July 26, 2012, 05:26 AM
The code in the templates/template/tpl/blocks/field.tpl

but its not necessary to edit code in this file if you want just add css styles. You can just add it to style.css file without changing html itself.