• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

font style for $params[\"title\"]

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
9 posts • Page 1 of 1

Postby NautTboy » Sun Aug 28, 2011 4:16 pm

I like to change the font type for $params["title"]. Is it possible? If possible, I would like to use font face command.
NautTboy
Member
 
Posts: 37
Joined: Sat Mar 14, 2009 7:40 am
Top

Postby re*s.t.a.r.s.*2 » Sun Aug 28, 2011 8:56 pm

Hello,

What font face command? PFC doesn't have a command named like that...

as for the title font and CSS you can find the CSS at style.css.php file located "/themes/default" folder

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby NautTboy » Mon Aug 29, 2011 4:35 am

So it change it in style.css "font family = myfontname"

about font face command, that's html command <font face="arial"> is example.
NautTboy
Member
 
Posts: 37
Joined: Sat Mar 14, 2009 7:40 am
Top

Postby NautTboy » Mon Aug 29, 2011 2:55 pm

Ok, font-family:myfont shows up only square. Any other font command I can use? I'm just trying to use cool ttf font.
I'm assuming the font-family is only for webpage/internet safe font.
NautTboy
Member
 
Posts: 37
Joined: Sat Mar 14, 2009 7:40 am
Top

Postby re*s.t.a.r.s.*2 » Mon Aug 29, 2011 6:11 pm

Hi,

I am sorry I am not too familiar with old html implementation, mainly DOC type I use
xhtml1-transitional.dtd
and CSS 2.1 implementation which for you example would be..
Code: Select all
#pfc_title{
  font-family:"Times New Roman",Georgia,Serif;
}
<h2  id="pfc_title"> Your chat title </h2>

Phpfreechat uses the W3C standard way that sees the web in a professional way...

Old ways are now depreciated since the web evolve for the better..

you can check out http://www.w3schools.com/html/default.asp

and for CSS http://www.w3schools.com/css/

studding those suggestions will make your code more uptodate and easy to maintain..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby NautTboy » Tue Aug 30, 2011 2:59 pm

Ok tried the code you gave me and replaced the previous and chat did not load.

Just wanna make sure you understand that the font I'm trying to use is not listed in IE nor FF. It's installed under windows. On regular webpage it will show as normal alphavabet unless that font is install on your pc. Fonts I like to use is one of these: http:// 400fonts.
I'd downloaded/installed on my pc. In chat room show just regular.
NautTboy
Member
 
Posts: 37
Joined: Sat Mar 14, 2009 7:40 am
Top

Postby re*s.t.a.r.s.*2 » Tue Aug 30, 2011 7:59 pm

Just wanna make sure you understand that the font I'm trying to use is not listed in IE nor FF. It's installed under windows. On regular webpage it will show as normal alphavabet

That's right, I got that fine,

Now for the chat to show the new changes you need to "/rehash" as admin and see if that works..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby NautTboy » Wed Aug 31, 2011 1:20 pm

Can't rehash if it won't load.

When it was showing square/boxes is when I choose the that particular font in font-family.
NautTboy
Member
 
Posts: 37
Joined: Sat Mar 14, 2009 7:40 am
Top

Postby re*s.t.a.r.s.*2 » Thu Sep 01, 2011 12:19 am

Hi,

Can your post your code and what file are you editing?

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top


Post a reply
9 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 17 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub