News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 22, 2019, 03:02:52 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188947
  • Total Topics: 20756
  • Online Today: 109
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 85
Total: 85

Author Topic: Change border color in Themis theme  (Read 2692 times)

0 Members and 1 Guest are viewing this topic.

sfboarders

  • Guest
Change border color in Themis theme
« on: April 20, 2005, 11:29:27 AM »
Hey Bloc, I asked you this in SMF but sorry to bring it up again so I figure it'd be faster if I asked you on your own board.  :D

I can't locate where to change the color of the borders for the board. I changed the color in the "style.css" but it's still white.

Quote
Look at the top in index.tempalte.php, some styles are redefined there according to chosen color-set.

Still having a hard time finding the border settings colors. I set all of the preconfigured settings but I do not see anything that applies to the border there unless I overlooked it. 8) I am talking about the white in the border in between the boards.



Bjørn

  • Guest
Re: Change border color in Themis theme
« Reply #1 on: April 20, 2005, 04:03:11 PM »
ah..I am sorry, I forgot your post over there.

Open up BoardIndex.template.php and find this code:
Code: [Select]
        foreach ($context['categories'] as $category)
        {
                echo '
<div style="border-top: solid 1px #707070; border-bottom: solid 1px #707070;"><table bgcolor="#ffffff" border="0" width="100%" cellspacing="1" cellpadding="5">
        <tr>
                <td colspan="2" class="catbg', $category['new'] ? '2' : '', '" height="18">';

The backgroundcolor (#ffffff) in the <table> tag there is what you need to change. Or - if you don't want a border at all, set cellspacing="0" in the same tag there.

sfboarders

  • Guest
Re: Change border color in Themis theme
« Reply #2 on: April 21, 2005, 12:23:23 AM »
ah..I am sorry, I forgot your post over there.

Hey Bloc, no need to be sorry. You make some awesome templates and your site is GREAT!!! The SMF template is still new to me. The old YaBBSE template is simple HTML. :)