Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: irayhan - tammikuu 04, 2012, 12:33:47 AP

Otsikko: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 04, 2012, 12:33:47 AP
I am using a theme named GLACIER by LOGOOFF. It's showing a white bar(i dont know what it's called) below the header. I want to remove it. I posted in their forum. No response. So if anyone here can help me out with this please? thanks in advance. Check the attachments
Otsikko: Re: How to remove this(need help)
Kirjoitti: Dzonny - tammikuu 04, 2012, 05:31:57 AP
Hello there.

As i can see in index.template.php you can find:

<div class="header_line_2">
...code for social icons and logo...
</div>

You can remove whole div or just that class, i'm not sure if you want logo and social icons to stay there or you want to completly remove that bar.

Regards.
Otsikko: Re: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 04, 2012, 09:14:12 AP
when i deleted there is problem with the site. when i try to enter my site it's saying-
Template Parse Error!

It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.
Otsikko: Re: How to remove this(need help)
Kirjoitti: mashby - tammikuu 04, 2012, 09:15:15 AP
What specifically did you remove? Mind attaching the index.template.php file you edited?
Otsikko: Re: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 04, 2012, 10:59:37 AP
sorry after the problem i restored the original file. i can attach that. here it is
Otsikko: Re: How to remove this(need help)
Kirjoitti: mashby - tammikuu 04, 2012, 11:48:03 AP
Give this a whirl. There are a lot of settings in what I removed. I think I removed the big white bar. If I'm wrong, you can always use the file you attached. Fingers crossed.
Otsikko: Re: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 04, 2012, 12:57:07 IP
it worked  ;D :D :laugh: 8)
thanks man. thanks a lot. really appreciate your work. thanks again  :)
Otsikko: Re: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 04, 2012, 01:22:24 IP
sorry to bother you again. i want to put adsense ads in footer. in last theme i did it putting the ad code after <div id="footer_section"><div class="frame">
now i want to put ads. but i don't find this footer section. what can i do? if u knw please help. thanks in advance
Otsikko: Re: How to remove this(need help)
Kirjoitti: mashby - tammikuu 04, 2012, 01:58:41 IP
function template_body_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo 'PUT YOUR ADSENSE HERE
</div>
</div></div>';
Otsikko: Re: How to remove this(need help)
Kirjoitti: irayhan - tammikuu 05, 2012, 04:52:34 AP
thanks man. appreciate your help