- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 86 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - simple question.. [ ]
Author
Message
New guest
Guest
Posted:
Sun Jun 08, 2003 5:19 am
How, can I on the main page get this--
Posted by admin on Saturday, May 17 @ 14:33:16 EDT (4 reads)
(Read More... | 1 comment | | Score: 0)
to line up in the center of news topics rather than line up on the right? I know how to fix just don't know what file to edit.
Thanks,
Mark
Cyberclark
Elite Nuker
Joined: Nov 20, 2002
Posts: 237
Posted:
Sun Jun 08, 2003 7:46 am
This is controlled by your theme, really just depends on what theme you are using.
In themes folder look for story_home.html
Then look for code that looks like:
Code:
<tr>
<td nowrap><div>
<font class="content">$posted</font><br>
<font class="content">$morelink</font></div></td>
</tr>
In-line find
In-line add
Final code should look like
Code:
<tr>
<td nowrap><div align="center">
<font class="content">$posted</font><br>
<font class="content">$morelink</font></div></td>
</tr>
At least that is what mine looks like and all that info is centered
Hope that helps.
Make sure to make a backup of any files before editing them just in case!!
New guest
Guest
Posted:
Sun Jun 08, 2003 10:51 am
This is what I have inside my theme.php This is a NSN_Theme. I don't know if it matters. If any one has time could they please take a look.
Thanks,
Mark
Code:
echo "<!-- START STORY_HOME.HTML -->\n";
echo "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"$bgcolor6\" width=\"100%\">\n";
echo "<tr bgcolor=\"$bgcolor2\"><td align=\"left\"><font class=\"option\" color=\"$textcolor1\"><b>$title</b></font></td></tr>\n";
echo "<tr bgcolor=\"$textcolor4\"><td align=\"left\"><font class=\"content\"><a href=\"modules.php?name=News&file=topics&op=newindex&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>$content</font></td></tr>\n";
echo "<tr bgcolor=\"$bgcolor1\"><td align=\"right\"><font class=\"content\">$posted</font><br>\n";
echo "<font class=\"content\">$morelink</font></td></tr>\n";
echo "</table><br>\n";
echo "<!-- END STORY_HOME.HTML -->\n";
Cyberclark
Elite Nuker
Joined: Nov 20, 2002
Posts: 237
Posted:
Sun Jun 08, 2003 11:20 am
See this part
Code:
echo "<tr bgcolor=\"$bgcolor1\"><td align=\"right\"><font class=\"content\">$posted</font><br>\n";
echo "<font class=\"content\">$morelink</font></td></tr>\n";
echo "</table><br>\n";
echo "<!-- END STORY_HOME.HTML -->\n";
Change the
to
That should do it
New guest
Guest
Posted:
Sun Jun 08, 2003 11:37 am
Thanks! That did it! Thanks for your time.. I was looking at this screen for too long!
Tahnks,
Mark
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum