Tags:
create new tag
, view all tags

Question

Having upgraded to 4.2 and tweaked default PatternSkin fonts and sizes a bit most users are very happy with the new look. Some users, however are adamant they want smaller fonts.

Is there a sensible way to set a variable (DEFAULT_OVERALL_FONT_SIZE for example) that users could then vary in their preferences and have it picked up in the patternPage section of pub/TWiki/PatternSkin/style.css?

(My naive attempts of creating the variable and giving it a value (in TWiki/TWikiPreferences) and substituting %DEFAULT_OVERALL_FONT_SIZE% for 105 do not appear to work.

Any suggestions?

Environment

-- IanCollier - 07 May 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

After digging even further realised we could use USERSTYLEURL

-- IanCollier - 07 May 2008

A TWiki variable inside an attached file won't work. But you can create a simple css file where you set the size, and let the variable USERSTYLEURL link to that file. See PatternSkinCssCookbook for info.

-- ArthurClemens - 07 May 2008

 
Change status to:
Topic revision: r3 - 2008-05-07 - ArthurClemens
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.