Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

New won't display properly

Asked Modified Viewed 2,111 times
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

Hellow, I am having a problem posting news on my site. I can't change any of the text size. HTML <font size> tags don't work on my site, so I use CSS, but even this isn't working. I can change the font color, but when it comes to making the text bigger nothing I've done seems to work. Please help!
0 replies

10 posts

G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thanks for the reply, but it didn't work. Is there any code I should have before it?
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

What exactly is too big??

If it is the text:
Garrett's Pacific Crest Trail Experience
This is a generic video until I can post my own

this is caused by the following code:

<style type="text/css">
h3 { font-size: 26px; }
h4 { font-size: 20px; }
p1 {font-size: 18px; }

</style>
</head>
<body>

<tr><h3><b><center>Garrett's Pacific Crest Trail Experience</center></b></h3>

<h4><b><font color='blue'><center>This is a generic video until I can post my own</h4></b></font></center><br>

This looks like it's hardcoded into the page.
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Ok, do you want me to post some news and give you the site link, or do you want access to my site? Sorry, I'm not terribly experienced with this, so I'm not quite sure what you need. Thanks for helping though!:)
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

[quote]Xessive wrote:
What exactly is too big??

If it is the text:
Garrett's Pacific Crest Trail Experience
This is a generic video until I can post my own.......




I'm trying to change the text in the "News" Panel which I can't figure out. Let me post some text in it really quickly
Edited by Garrett on 18-06-2008 23:35,
0 replies
X
Xessive
X
I am not always right, but I'm never wrong.
http://www.xessive.nl
  • Senior Member, joined since
  • Contributed 327 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

OK, I see what you mean.

That specific table has the class property "class='main-body"
Main-body is a configuration set for text etc. This is set in the
theme.css style sheet in your theme folder.

Try to create (copy) the main-body , rename it and change the text size etc there. Then edit the theme.php file and change the main-body in the news section of ther theme.php to what you've renamed to copy too.

Play around with that to see what happens.

But first, change the default theme to another (eg. Fusion6) and see if the problem still appears then. That's quicker and easier..!!
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

So if I change it to another theme and it works, what should I do then? I really want to keep my theme. Thanks for your help.
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

I changed the theme and it worked when I used font tags. So I should mess around with the with the theme.php file? I'll give it a try, but do you know what values I should change? Like I said in a previous post, I'm not that experienced so forgive me if I sound like I'm totally confused. I do however know where my theme.php file is!
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Here is a snippet from my theme.php file It would be awesome if you could point out what should be changed.



function render_news($subject, $news, $info) {

global $locale,$aidlink;

echo "<table width='100%' cellpadding='0' cellspacing='0'>

<tr>
<td>

<table width='100%' cellpadding='0' cellspacing='0'>

<tr>
<td class='capmain'>$subject</td>
</tr>

<tr>

<td>

<span class='news-date'><a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['041'].showdate("longdate", $info['news_date'])."</span>

</td>

</tr>

</table>
<table width='100%' cellpadding='0' cellspacing='0'>

<tr>

<td class='main-body'>

$news

</td>

</tr>

</table>

<table width='100%' cellpadding='0' cellspacing='0'>

<tr>

<td class='news-date'>\n";

if ($info['news_ext'] == "y") echo "<a class='news' href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#8721;\n";

if ($info['news_allow_comments']) echo "<a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#8721;\n";

echo $info['news_reads'].$locale['044']." &#8721; <a class='news' href='print.php?type=N&amp;item_id=".$info['news_id']."'>".$locale['045']."</a>";

if (checkrights("N"))

echo" &#8721; <form style='display:inline' name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".(!empty($aidlink) ? $aidlink."&amp;" : "?")."news_id=".$info['news_id']."'><input type='hidden' name='edit' value='edit'><a class='news' href='javascript:document.editnews".$info['news_id'].".submit();'>".$locale['048']."</a></form>
";

echo"

</td>

</tr>

</table>

</td>

</tr>

</table>\n";


Moderator Edit: Made code display as code :)
Edited by starefossen on 19-06-2008 03:01,
0 replies
G
Garrett
G
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

I FEEXED IT! I FEEXED IT! Thanks again for your help.:D
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

Garrett wrote:
I FEEXED IT! I FEEXED IT! Thanks again for your help.:D

Good job. Although next time click the "Edit" button and add to your post instead of talking to yourself for 3 or 4 posts. It's much better than posting 3 or 4 times. I don't mean to sound harsh, I'm not trying to be - I'm just making a suggestion.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet