PDA

View Full Version : Moving Title Under eHeader Image


waltercat
11-03-2006, 01:17 AM
I am trying to alter my template so that the title, published by and date all are under the header image rather than the right. I'm kinda lame when it come to templating and after a half hour, I can't figure it out. Can someone please lend a hand?:confused:

The Geek
11-04-2006, 01:15 AM
You can try changing the GARB_pb from:


<strong>$post[title]</strong>
<div class="smallfont">
<if condition="$post['byline']">$post[byline]<br /></if>
$vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br />
$vbphrase[posted] $post[postdate]
</div>


to


<div style="float:$stylevar[left];">
<strong>$post[title]</strong>
<div class="smallfont">
<if condition="$post['byline']">$post[byline]<br /></if>
$vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br />
$vbphrase[posted] $post[postdate]
</div>
</div>


Havent tried it though.

HTHs

waltercat
11-06-2006, 09:25 PM
That wasn't the fix but it did spark the light bulb in my head. The image needs to be wrapped in div tags as well in order for the title to drop:

Replace this:

<div style="float:$stylevar[left];">
$post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title]" />$post[GARS_post_header_image]
</div>$post[synopsis]
</if>
<if condition="$show['inlinemod']"> <div style="float:$stylevar[left];">
$post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title]" />$post[GARS_post_header_image]
</div>$post[synopsis]
</if>
<if condition="$show['inlinemod']">
<div class="bigusername" style="float:$stylevar[right];"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /></div> <div class="bigusername" style="float:$stylevar[right];"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /></div></div>
</if> </if>
<strong>$post[title]</strong>
<div class="smallfont">
<if condition="$post['byline']">$post[byline]<br /></if>
$vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br />
$vbphrase[posted] $post[postdate]
</div>

With This:

<div style="float:$stylevar[left];">
<div style="float:$stylevar[left];">
$post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title]" />$post[GARS_post_header_image]
</div>$post[synopsis]
</if>
<if condition="$show['inlinemod']">
<div class="bigusername" style="float:$stylevar[right];"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /></div></div>
</if>

<div style="float:$stylevar[left];">
<strong>$post[title]</strong> <div class="smallfont"> <if condition="$post['byline']">$post[byline]<br /></if> $vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br /> $vbphrase[posted] $post[postdate] </div> </div>