SMF Support > SMF 2.0.x Support

How does it move?

(1/2) > >>

sdd:
Hi,
how to move it to the left or the right?

Yoshi:
Hi sdd!

In your index.template.php, you can find something like "theme_copyright()" without quotes.

Replace:

--- Code: ---' . theme_copyright() . '
--- End code ---

With (left):

--- Code: ---<div class="floatleft">' . theme_copyright() . '</div>
--- End code ---

or with (right)

--- Code: ---<div class="floatright">' . theme_copyright() . '</div>
--- End code ---

sdd:
Hi Yoshi2889,
thanks for the answer, but it gives an error.
It can do this for me?
And that was a one-liner?

tnx


--- Code: ---<ul class="reset">
<li class="copyright">', theme_copyright(), ' | <strong>Elegant</strong> by, <a href="http://www.skin-box.com/" target="_blank" class="new_win" title=""><span>Skin-Box</span></a></li>
<li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" 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>';
--- End code ---

Yoshi:
Try this:


--- Code: ---<ul class="reset floatright">
<li class="copyright">', theme_copyright(), ' | <strong>Elegant</strong> by, <a href="http://www.skin-box.com/" target="_blank" class="new_win" title=""><span>Skin-Box</span></a></li>
<li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" 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>';
--- End code ---

sdd:
Yoshi2889
it works
thank you very much

Navigation

[0] Message Index

[#] Next page

Go to full version