View Full Version : Column Category Strips
´ÀÉ`SÌLVÉR´ÀÉ`
10-18-2004, 12:59 PM
How would I make the Column's not mimic What color/image is set for Category Strips background, but instead have it mimic what is set for Table Header background or a custom color/image background?
Brian
10-18-2004, 03:41 PM
Edit your adv_portal templates.
´ÀÉ`SÌLVÉR´ÀÉ`
10-18-2004, 04:20 PM
but where exactly is it setting it to go off the category strips background settings? (could I have an example with one of the templates)
Brian
10-18-2004, 05:09 PM
It's in the class for the table cells.
´ÀÉ`SÌLVÉR´ÀÉ`
10-19-2004, 12:43 AM
<!-- Online Users Block -->
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <a href="$vboptions[bburl]/online.php?$session[sessionurl]">$vbphrase[active_users]</a>: $totalonline</strong></span>
</td>
</tr>
<tr>
<td class="alt2"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">$activeusers</span></td>
</tr>
<tr>
<td class="alt2"><span class="smallfont"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></span></td>
</tr>
</table>
<br />
<!-- End Online Users Block -->
would it be the part that said "class="tborder"" but what exactly would i replace it with to make the category strip selection show up instead?
Scott_H
10-19-2004, 03:28 AM
I answered this question in your other post on vb.org.
Open up the main template(such as adv_portal_welcomeblock) for each block. At the bottom of the template editor box there is an input box that will peform a search. Type in "tcat" an hit find, then select "tcat" and type "thead" in it's place. You'll have to do this for all the blocks/modules you are useing so make sure it's what you want before going through the trouble.
No offense, but if something like this is beyond your understanding you need to go buy some books on HTML an PHP.
tcat, thead, tborder, smallfont are css indicators which are found in your "Main CSS" under Styles & templates/Style Manager. On the bottom of each table you will see "CSS Selector:" What is next to the is the code you use for your class=""'s
´ÀÉ`SÌLVÉR´ÀÉ`
11-02-2004, 04:24 PM
I figured out how to change all the one's for my other module blocks, but the one for the calendar I have no clue how... here is what's inside the template <!-- Mini Calendar -->
<table align="center" border="0" cellpadding="4" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%">
$calendarbits
</table>
<br />
<!-- End Mini Calendar -->
and here is also a screen shot of what is going on...
frage
11-02-2004, 06:25 PM
´ÀÉ`SÌLVÉR´ÀÉ`
admin cp
styles&templates
calendar
calendar_smallmonth_day
calendar_smallmonth_day_other
calendar_smallmonth_header
calendar_smallmonth_week
you need
calendar_smallmonth_header
frage
´ÀÉ`SÌLVÉR´ÀÉ`
11-02-2004, 09:12 PM
Thanks, I appreciate the help :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.