I tried adding a third smaller font size. I added the css fiile, but don't know jazvascript well.

CommentFileSizeAuthor
#1 fontsize.txt2.71 KBbman-1

Comments

bman-1’s picture

StatusFileSize
new2.71 KB

First of all, I've never posted before, so let me know if my etiquite is off...

I don't know js, but managed to figure this out with my limited knowledge of C/C++ and copying and pasting;) In 3 steps:

1)I made a file called small.css comprised of html and "{" font-size: 90%; "}"
2)in fontsize.module in fontsize_menu I added a new line right before the javascript line. It looks exactly like the normal.css line, only with small.css substitued for normal.css.
3)in fontsize_block in fontsize.module I added a new line after the line for normal. It looks exactly like the normal.css line, only with small.css and 90% in the proper places.

I can't get this to let me post the actual code, so I'll try to upload it in a .txt file. Also, I have a larger.css file, which appears in my code.

drumm’s picture

Status: Active » Closed (won't fix)

The fontsize module is no longer maintained.