legend signature?

xml

Active member
how to make simple legend and members username around each members signature?

somthing same as the attached image
 

Attachments

  • sig_legend.webp
    sig_legend.webp
    1.9 KB · Views: 42
Edit this template:

Admin CP -> Appearance -> Templates -> message

Replace this code:

Code:
		<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
			<div class="baseHtml signature ugc"><aside>{xen:raw $message.signatureHtml}</aside></div>
		</xen:if>

With this:

Code:
		<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
			<div class="signature">
				<fieldset>
				<legend>{$message.username}'s Sig:</legend>
					<div class="baseHtml ugc"><aside>{xen:raw $message.signatureHtml}</aside></div>
				</fieldset>
			</div>
		</xen:if>

Then edit this template:

Admin CP -> Appearance -> Templates -> EXTRA.css

Add this code:

Code:
.signature fieldset
{
	border: #888888 1px solid;
	border-radius: 4px;
	padding: 4px;
}

The result:

Screen shot 2011-07-27 at 10.40.12 AM.webp
 
When I add this it looks nice. But there is still the '-------' line which separates the sig area from the post area. How can I make that '-----' line disappear, or change it's color to match the background?
 

Attachments

  • file_sigseparator1.webp
    file_sigseparator1.webp
    173 KB · Views: 13
Top Bottom