Jump to content


Photo

How to change the font size in this piece of code...


  • Please log in to reply
4 replies to this topic

#1 cmcraft

cmcraft
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 22 September 2006 - 10:54 AM

I am working with a piece of software called XD Forum on my blog site. It is coded entirely in php and I am not too familiar with how it all works...

Here is the code... You will notice that the second line, I was able to figure out how to make the font larger. I need to make the font larger on the first line of this code, but don't know where to insert it.

Thanks for the help!!

echo xdforum_create_link("forum", array("name"=>$tfs[$i]->xf_name, "xf_name"=>$tfs[$i]->xf_name, "xf_id"=>$tfs[$i]->xf_id));

         echo ($tfs[$i]->xf_description!="")?"<br /><font size=1>".$tfs[$i]->xf_description."</font>":"";

See the small fonts in action!

http://opensource.ch....com/?page_id=6

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 22 September 2006 - 10:59 AM

I'd be tempted to change font size=1 to something larger, or use a CSS definition.
Legend has it that reading the manual never killed anyone.
My site

#3 cmcraft

cmcraft
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 22 September 2006 - 11:02 AM

Well naturally my entire site runs off css, but I don't know how to force a css call in this regard.

The point is not what size, but simply where to put the code so it works!!

The only thing that has changed in the size so far are the numbers indicating how many posts, etc. I need that first line to have some ability to change the font size.

Thanks!

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 22 September 2006 - 11:21 AM

If XD Forum has some sort of support forum you would probably be best off asking your questions there where someone familiar might be able to help.

For now... Im moving this thread to the third party forum.

#5 cmcraft

cmcraft
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 22 September 2006 - 11:46 AM

Does it matter that it's XDForum?

I figured it would be a simple question of where to insert more code? I don't know much about PHP and was in need of help. To be frank, I feel markedly slighted.

Why must this be difficult?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users