Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Cool Surfer - elokuu 10, 2006, 01:13:28 IP

Otsikko: Where IS the Logo Code pl
Kirjoitti: Cool Surfer - elokuu 10, 2006, 01:13:28 IP
hi guys,

Where IS the Logo Code , i need to align this logo.
www.onlinemedicalforum.com/smf ... just to look like this
one at www.onlinemedicalforum.com/forum

Can anyone help me?

Thank you.
Otsikko: Re: Where IS the Logo Code pl
Kirjoitti: EvilNui - elokuu 11, 2006, 10:19:20 AP
You could try the following

In the Index.template you already changed the code, I think. (At Line ~174)
echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';


Lainaa<td class="catbg" height="32">';
Change the "catbg" to something that does not already exist in the stylesheet! "catbg_header" might do it.
Then you go into the stylesheet and search for "catbg". Copy the style catbg and name it "catbg_header" (or the name you already used as described above) and change it like you would in html.

I hope this helps, but be careful with editing the files :P.
Otsikko: Re: Where IS the Logo Code pl
Kirjoitti: Deaks - elokuu 11, 2006, 09:34:36 IP
If you have access to both index.template.php files look at the differences in the headers if you cant find them then post your codes here (Please use the code tags when pasting the code)