WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: tsb on February 28, 2008, 11:25:39 PM

Title: Implementing fontsize onto template
Post by: tsb on February 28, 2008, 11:25:39 PM
Hello everyone,

I need some advice, I found the fontsize javascript that they use on joomla, via this,

http://help.joomla.org/component/option,com_easyfaq/task,view/id,165/Itemid,268/ (http://help.joomla.org/component/option,com_easyfaq/task,view/id,165/Itemid,268/)

It seems simple, I have added it to the round template yet it hasnt worked, any advice to get it working,

it would be great to use it on my site.

www.kttchurch.org.uk (http://www.kttchurch.org.uk)

thanks,

 :|
Title: Re: Implementing fontsize onto template
Post by: ruebenwurzel on February 28, 2008, 11:36:16 PM
Hello,

done a short look and it seems that the javascript needs additional Joomla files. So this definetely did not work in Wb. If you wanna have a font switcher please search the internet for free scripts. But i would focus on some css solutions instead of javascript. Font switch makes sense for People with not so good eyes, using javascript means that all people who have disabled javascript in her browsers cannot use the font switcher. Same could be done with css and works everywhere and everytime.

Matthias
Title: Re: Implementing fontsize onto template
Post by: tsb on February 29, 2008, 12:00:15 AM
thanks for the quick reply, ok, I spent to long hunting this type of thing down, I thought I could copy and paste, from joomla, it seemed the easiest option, oh well, back to the internet hunt.
Title: fixed problem
Post by: tsb on March 01, 2008, 10:38:42 AM
got it working on above website, needed to adjust the text size to %, not sure if anyones interested in using it on their site, just need to develop my css and php knowledge now...
Title: Re: Implementing fontsize onto template
Post by: marathoner on March 01, 2008, 04:13:20 PM
You might want to search this forum for info regarding template switcher. By implementing session variables you can offer your users the ability to switch to different templates. These templates could be exactly the same except for the CSS sizing to achieve the effect that you want.