Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: f_inscreenname - elokuu 29, 2006, 08:05:21 IP

Otsikko: Need header back ground picture size help.
Kirjoitti: f_inscreenname - elokuu 29, 2006, 08:05:21 IP
I have added a picture to the background of my header but only the top 2/3's of it shows up. How do I make this are a larger to show the whole picture?

SMF1.0.8

Thanks
Otsikko: Re: Need header back ground picture size help.
Kirjoitti: codenaught - elokuu 30, 2006, 10:11:32 AP
In Themes/theme_name/index.template.php, search for

<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

And replace the 4px in that code with a greater number.

If that code is not found, search for just: id="headerarea" and edit the third number listed in the style="padding: part following.
Otsikko: Re: Need header back ground picture size help.
Kirjoitti: f_inscreenname - elokuu 30, 2006, 10:57:29 AP
Wow! That worked great! Thanks. :D