How can I move this item over to one side, left or right doesn't matter.
* Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC
SimplePortal 2.3.3 © 2008-2010, SimplePortal
* Flagrant_alt by Crip
* XHTML
* RSS
* WAP2
It is in the index. template.php file near the bottom..
Thanks Ron...
align="right" ?
..or CSS http://www.codertools.com/css_help_guide/css_text-align.aspx
Quote from: Owdy ツ on April 27, 2011, 04:47:22 PM
align="right" ?
..or CSS http://www.codertools.com/css_help_guide/css_text-align.aspx
Thanks Owdy, can you show me where. I posted part of the Data below..
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">
<div id="footer_section">
<div class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<li>Flagrant_alt by <a href="http://www.jpr62.com/theme/" target="_blank"><b>Crip</b></a></li>
<li><a id="button_xhtml" href="http://validator.w3.org/check/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>';
// Show the load time?
if ($context['show_load_time'])
echo '<p><span class="smalltext"><br />'. $txt['page_created'], $context['load_time'], $txt['seconds_with'],
<div id="footer_section">
to
<div id="footer_section" style="text-align: right !important;">
Havent tested, but should work.
edit: or edit css file:
css/index.css
/* The footer wih copyright links etc. */
#footer_section
{
text-align: center;
background: url(../images/theme/main_block.png) no-repeat 0 -820px;
padding-left: 20px;
}
to
/* The footer wih copyright links etc. */
#footer_section
{
text-align: right;
background: url(../images/theme/main_block.png) no-repeat 0 -820px;
padding-left: 20px;
}
Owdy I did something wrong look below.
QuoteTemplate Parse Error!
There was a problem loading the /Themes/flagrant205/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected '/'
Any idea what I did and how to correct it.
I guess you typed single ' , not ".
Show me your code from that part
Quote from: Owdy ツ on April 27, 2011, 06:55:35 PM
I guess you typed single ' , not ".
Show me your code from that part
It happened after I made the change, but then I put it back the way it was. See highlighted.
Quote<div id="footer">
<div id="foot-l">
<div id="foot-r">
<div id="footerarea">
<div id="footer_section"><div class="frame">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<li>Flagrant_alt by <a href="http://www.jpr62.com/theme/" target="_blank"><b>Crip</b></a></li>
<li><a id="button_xhtml" href="http://validator.w3.org/check/referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
Next I was in the index.css and changed
Quote/* The footer wih copyright links etc. */
#footer_section
{
text-align: right;
background: url(../images/theme/main_block.png) no-repeat 0 -820px;
padding-left: 20px;
}
This is when I got the error reading. I couldn't get on the forum unless I went back to Defaylt theme. So for now I have removed the skin until I can do the corrections.
Bolded part is just fine. You have accidently changed something else too. Upload fresh Index.tamplete.php from that theme and try chance again.
You dont have to edit both files, you can choose wich method you use. Edit css file or Index.template.php. Not both. Maybe its safer to edit css file :)
Quote from: Owdy ツ on April 27, 2011, 09:09:36 PM
Bolded part is just fine. You have accidently changed something else too. Upload fresh Index.tamplete.php from that theme and try chance again.
You dont have to edit both files, you can choose wich method you use. Edit css file or Index.template.php. Not both. Maybe its safer to edit css file :)
Where do I het a copy of Index.Template.php file.. And when I do have it can I just remove the contents of the one I have and replace with contents of the other..Just wondering because I do what I can Manually, FTP's and me don't get along...
Thanks Ron..
Quote from: Oldcrow on April 27, 2011, 10:15:33 PM
Where do I het a copy of Index.Template.php file..
Where did you get that theme in first place? :)
Here http://custom.simplemachines.org/themes/index.php?lemma=1436 ?
Thanks Owdy, I still have it on my desktop. I'll zip it a find the file.
Appreciate your help..
Ron..
Good, so overwrite those corrupted files via FTP with orginal files. Then make that change exactly i sayd :) To css file or into Index.template.