Customizing SMF > Graphics and Templates
Footer placment problem in Theme
darknova11:
I'm having trouble finding .php where I can adjust parameters for Go TO Top Icon
and would also like to adjust these few information's above the line under the advertising banner
so it would be within the border of theme like shown in the picture.
So which .php file must I edit and what to do to get this footer look ok!
This is "target" theme
If you need more info please do tel me what?
THANKS!
Kays:
Hi, if it's the code around the copyright area. Then the file to look in is index.template.php for that theme.
darknova11:
Yes but now what do i need to change here to make it appear as i wish
--- Quote ---function template_body_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
</div>';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer">
<div id="foot-l">
<div id="foot-r">
<div id="footerarea" class="normaltext">
<div id="footer_section" class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<li><b>Target</b> by <a href="http://www.DivXHunt.tk/about-us/ [nofollow]" target="_blank"><span><b>DarkNova</b></span></a></li>
';
if (!empty($modSettings['seo_enable_sitemap']))
echo'
<li><a href="', $scripturl, '?action=sitemap" title="', $txt['seo_sitemap'], '"><span>', $txt['seo_sitemap'], '</span></a></li>';
echo'
<li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer [nofollow]" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
<li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
</ul>
<div id="uptop"><a title="Go To Top" href="#"><img src="'.$settings['images_url'].'/id/up_top.png" alt="*" /></a></div>';
// Show the load time?
if ($context['show_load_time'])
echo '
<p><br />', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';
echo '
</div>
</div>
</div>
</div>
</div>';
}
--- End quote ---
I added the template.php in to attachment
Kays:
Well, you asked what file it was located it. Not how to change it. :P
The copyright is as far up as it will go since there is no ad code in the footer. As for the other request, do you have a link to that page so we can see the layout. Or if you're using firefox. Download and install the firebug addon. It will allow you see that element and how it's positioned.
darknova11:
Ok hre is the page index
http://divxhunt.uhostall.com/Forum/index.php [nofollow]
I have firebug but still need help on how to ...
Navigation
[0] Message Index
[#] Next page
Go to full version