Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: DJ Rg - marraskuu 23, 2011, 03:14:36 IP

Otsikko: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 03:14:36 IP
Hi

If you look at my main forum page ..the "Categories and Descriptions" Fonts are way to Large ..also on Topics pages

http://www.tinroofalleypoets.org/poetry_boards/index.php

I uninstalled all my mods at no success (I reinstalled a minimum back)

When I validate the XHTML:
I get 1 warning = Byte-Order Mark found in UTF-8 File. < how do I change that?
and 1 error = character "" not allowed in prolog

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www....

in my "index template" its written as.. echo' <!DOCTYPE..

and if I take the echo ' out ..I get a parsing error at forums

This happen in Firefox, Chrome and IE

How can I fix the large Font?

Thank you!
Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 03:18:36 IP
try opening your themes index.template.php file in a decent text editor [like notepad++] and change the encoding to utf-8 without bom and see if that helps.
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 03:30:24 IP
Thanks for fast reply..

This is how that is written..

echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8', $context['character_set'], '" />


How should I rewrite that?
Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 03:31:40 IP
that has nothing to do with what i requested you do first, one step at a time...
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 04:10:26 IP
OK ..sorry misunderstood you..

using Notepad++ I am now getting a parse error = syntax error, unexpected T_STRING
Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 04:11:44 IP
you just changed the encoding and nothing else?
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 04:13:04 IP
yes
Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 04:15:16 IP
can you attach your index.template.php file to your next post?
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 04:21:18 IP
Ok ..appreciate your help
Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 04:24:25 IP
try the attached file.

and i would recommend upgrading to 2.0.1
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 04:55:25 IP
this is odd ..when i save your file ..it changes to ..index.php instead of index.template.php

so i edit its name in notepad++ and i get the parsing error

Otsikko: Re: Fonts Way to Large
Kirjoitti: Illori - marraskuu 23, 2011, 05:02:46 IP
there are some parts of http://www.simplemachines.org/community/index.php?topic=454734.0 that have not been fixed here. try using another browser
Otsikko: Re: Fonts Way to Large
Kirjoitti: DJ Rg - marraskuu 23, 2011, 05:16:23 IP
wheeew ..its a little better now ..seems i successfully got it to load with utf-8 without the bom

but the font is still to large, better, but not normal

when i validate ..i only get a "bom" warning ..if i uploaded the index.template w/o the bom ..how am i suppose to know where a file with bom is?