PDA

View Full Version : Catagory and Header Modifications


TheAllusionist
10-20-2005, 02:44 AM
I am trying to figure out how you add end endcap images to the gradient bars on my forum, an explanation or link to one would be most appreciated. Thanks in advance for your time.

Regards,

Russell Thomas

TheAllusionist
10-30-2005, 03:11 AM
I am still curious on this one, I believe you edit the "forumhome_forumbit_level1_nopost template" but the stuff I have dug up doesn't seem to work right in 3.5 or my incompetance has risen it's ugly head once again.

I basically have created an encap that matches my gradient but has a logo imbossed in it and I just want it to appear on the left side of my catagory strips. I use a repeating gradient for the strips since my theme is fluid, so just making a single gradient image is problematical. I want the one image and then the matching gradient to repeat across the table.

I have gotten it close, but then the strip loses its padding etc. and gets big, any ideas?

smacklan
10-30-2005, 11:27 AM
Hey Russell,
Typically you create a new table with the left, center and right images laid out as cells with width and height settings. It is difficult to give you an example as it depends on the size of your images, etc. and whether you are going fixed or liquid with the style.

This is an example from the forumhome template...maybe it will help:


<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/top_right1.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="63" height="31" align="left" valign="top"><img src="$stylevar[imgdir_misc]/top_left.gif" width="26" height="31" alt=""></td>
<td width="50%" class="tcat" style="background-image:url($stylevar[imgdir_misc]/textbg.gif)" align="left">


<div align="left" class="navtext2">
<b>What's Going On? </b>
<if condition="$show['subforums']"></if></div>


</td>
<td width="50%" height="31" align="left" valign="top"><img src="$stylevar[imgdir_misc]/top_right1.gif" width="77" height="31" alt=""></td>
<td width="206" height="31" align="right" valign="top"><img src="$stylevar[imgdir_misc]/top_right.gif" width="206" height="31" alt=""></td>
</tr>
</table>
<!-- END top category table setup -->

TheAllusionist
11-11-2005, 01:38 AM
Thank you, that gives me a good place to start from.

Best regards,

Russell Thomas

Thanks again oh wise one, can you perhaps lead me in the right direction for the quesiton I have asked in this post, but do not seem to get any nibbles:

https://vborg.vbsupport.ru/showthread.php?p=814158#post814158

It is really annoying me that I can't figure it out ;)