GetSimple Support Forum
(SOLVED) Working on my site's theme - Font changes on other pages - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Themes (http://get-simple.info/forums/forumdisplay.php?fid=10)
+--- Thread: (SOLVED) Working on my site's theme - Font changes on other pages (/showthread.php?tid=3379)



(SOLVED) Working on my site's theme - Font changes on other pages - TDT-Alpha - 2012-07-25

Hi!
I finally started to build my website, starting with the theme...
now, I used @font-face thing to make my own fonts on the website but there seems to be a bug...
http://www.tdt-alpha.com
On the homepage (about us) all the fonts are set up right,
but when you go to 'news', it changes back to default fonts...
What should I do?

EDIT: SOLVED
I used relative paths for the fonts ("./path")
While I needed to use absolute paths ("/path")
That fixed the problem!
Thanks people!


(SOLVED) Working on my site's theme - Font changes on other pages - eatons - 2012-07-26

... the only thing i see is an inappropriate use of the style tag inside the body tag on your news page. Move it inside the head tag, or place the content of the style tag correctly inside the division tag. Hope this helps ????


(SOLVED) Working on my site's theme - Font changes on other pages - TDT-Alpha - 2012-07-26

The style I found (too) in the body tag is not related to fonts or any text, it's from the news blog plugin for the thumbnails..
The funny thing is that the css and the html (PHP...) are exactly the same between About Us and News but still - the font changes on News...
Thanks for the answer, but didn't help (or I didn't notice something..)

Any suggestions? (I cannot continue building when the font is not uniform..)


(SOLVED) Working on my site's theme - Font changes on other pages - Connie - 2012-07-26

you are funny!

You should use absolute paths for the path.

the news-site URL is http://www.tdt-alpha.com/news/

so the relative path to the fontface must go wrong for sure


(SOLVED) Working on my site's theme - Font changes on other pages - TDT-Alpha - 2012-07-26

oh... whoops? XD
so instead of "./path" I need to put "/path" ? (checked it at the moment...)
These are exactly the parts which I fail in...
(changing it now for testing..)

EDIT: IT WORKED!
I put /path instead of ./path for absolute paths! Smile
Thanks men!


(SOLVED) Working on my site's theme - Font changes on other pages - Connie - 2012-07-26

I am glad it works now for you but please follow my suggestion:

really use complete absolute path (URL + directory)
I am sure you will have more than 2 levels of pages on your site and it will fail again from the 3rd level ... etc.


(SOLVED) Working on my site's theme - Font changes on other pages - TDT-Alpha - 2012-07-27

thanks again!
firstly - I wont...
secondly - I used /path isn't that 100% absolute? I believe (but don't really know) that it it will refer the path to the domain itself ("/path/123/" to "tdt-alpha.com/path/123/") from every page..
thirdly - thanks!
(I love English!!!!)