Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: bzzrd2 - syyskuu 06, 2006, 03:55:25 IP

Otsikko: Header in Mercury design by Bloc
Kirjoitti: bzzrd2 - syyskuu 06, 2006, 03:55:25 IP
I added my own header in Mercury design by Bloc however I want to reduce the space between the header and the next panel. Can anyone provide some insight on how this can be accomplished? Thank You.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.killerchoppers.net%2Fimages%2Fremove_space.jpg&hash=cc27c562485ed4e25771a672a046ca5dad50c6d0)
Otsikko: Re: Header in Mercury design by Bloc
Kirjoitti: bloc - syyskuu 06, 2006, 06:54:11 IP
Index.template.php..this line:
        echo '
        <div id="headerarea" style="padding: 12px 20px 4px 20px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

Try changing "padding: 12px 20px 4px 20px;" to just "padding: 0px 20px 4px 20px;"
Otsikko: Re: Header in Mercury design by Bloc
Kirjoitti: bzzrd2 - syyskuu 06, 2006, 08:57:37 IP
Thanks Bloc! Nice template!