eriche
Member
Hello,
 
	
	
	
		
 
this is the code in the Template "message_user_info" to Show Custom Fiels.
 
How can I add CSS Code in Extras.css to Style a Custom Field
When I inspect the Element on the Website it Looks like this
 
	
	
	
		
 
But I don`t get the CSS working for it - I guess I do something wrong with the CSS Path, or how I address the field
 
Erich
				
			
		PHP:
	
	<xen:if is="{xen:property messageShowCustomFields} AND {$user.customFields}">
<xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
 
    <xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
        <xen:if is="{$fieldInfo.viewable_message} AND ({$fieldInfo.display_group} != 'contact' OR {$user.allow_view_identities} == 'everyone' OR ({$user.allow_view_identities} == 'members' AND {$visitor.user_id}))">
            <xen:if hascontent="true">
                <dl class="pairsJustified userField_{$fieldId}">
                    <dt>{xen:helper userFieldTitle, $fieldId}:</dt>
                    <dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
                </dl>
            </xen:if>
        </xen:if>
    </xen:foreach>
  
</xen:hook>
</xen:if>
	this is the code in the Template "message_user_info" to Show Custom Fiels.
How can I add CSS Code in Extras.css to Style a Custom Field
When I inspect the Element on the Website it Looks like this
		PHP:
	
	<dl class="pairsJustified userField_custField1">
	But I don`t get the CSS working for it - I guess I do something wrong with the CSS Path, or how I address the field
Erich