Loading...
 
Skip to main content

Themes


Small font in reply entry box/changing font size for reply as posted

In my new forum, I have some users who've mentioned it's hard to read what they're typing into a reply box because the font is so small. Even I have trouble reading it. How can I change this? Is it a global setting or can it be changed per user?

On a related subject, is there a way to allow changing font size for the reply (as it will appear when posted) without having to use the QuickTags and "program" the change with code? I'd like to have a toolbar button for this, something like I see on this forum.

I bet there's a theme with some of these changes but I have no idea where to start looking and have little time. I have several things to try to customize at once and have no idea which themes have what settings. Of course, I'm reading the documentation but it's not complete as I'm sure most of you know.

What is the best and quickest way to customize these things with a new (or modified) theme? What should I look for in a theme (certain files with certain settings?) to see if it's close to what I want - without switching themes over and over and checking every option each time?

I know once I've had more time with this that it'll be simple. Right now, it's rough since I haven't worked with style sheets or all the other sorts of configuration files used by the forum. Programming is old hat for me but this is a new "language." Or maybe I should say, it's several new languages all at once to get used to.

Font sizes are set by each theme's Cascading Style Sheet (CSS) file, kept in the styles directory. In the older themes, these are set in pixels, in the more recent themes, they are generally specified with the em unit. You can easily increase the font size of the comment textarea by finding the appropriate line in the style sheet file (styles/tikineat.css, for example) and increasing the figure. Be aware that when you update your Tiki installation the stylesheet file is likely to be overwritten, so keep track of any customizations you do so you can repeat them if necessary. Alternatively, you can copy and modify an existing CSS file that you mostly like, rename it, and put it in the styles directory. Then it won't be overwritten when you upgrade (though you may miss out on new CSS added in the upgrade).

The comment reply box is a "textarea" and where/how its text size is set depends on the theme. In Tikineat, for example, it's at line 133 or so, in a group of selectors — button, input, textarea, select — and font-size:12px is specified.

You could add a Quicktag to make a larger text size in the displayed forum post, but I'm not sure what the logic would be of leaving it up to post authors to set the font size of their own post only to a larger size. Seems like you'd want this to be standardized for all the posts in your forums. Presumably this would be at a size that you think is appropriate. Forum users can always increase the font-size if necessary with a browser setting as with any web page (all browsers enable this but apparently not all browser users are aware of it).

For more information, see http://themes.tikiwiki.orgQuestion.

Can you please be specific about where the documentation you needed wasn't complete? (I assume you're talking about doc.tikiwiki.orgQuestion. Tikiwiki has a huge amount of documentation already but of course is a work in progress, so it's good to get detailed feedback. (Also, it's a wiki, so feel free to contribute when you get to that point.)

-- Gary


OK, that's what I suspected but I've had no experience working with those files and had little idea of what to look for. It would have been like looking for a needle in a haystack without even knowing which haystack to look in.

With what you've said, I can now look in the right places and make some modifications.

Thanks a bunch, Gary.

I missed the last part where you asked what documentation was incomplete. Well, as you know there are places in the PDF User Manual where things are still in progress. Also, so much of that manual or the other documentation assumes I already know a lot more than I do about this software and how to program in all the various languages.

While searching for information on font size in both the PDF manual and the online docs (which is the Wiki, I believe), I got a lot of hits but nothing to do with changing the size of the font where I needed to change it. I had no idea even what to search for. I tried "reply", "comment" and various other terms and came up empty. Now I know the proper term is "textarea." I found that out through more searching before I got your reply. When I get a chance (not tonight), I'll take a run back through some of the steps I took to find an answer and give you more details about the results I got.

I understand perfectly how an open-source project is going to have some of these problems with documentation and so forth, so this isn't a complaint but really an explanation for why I'm asking here. I've been through the other resources and was overwhelmed with data that didn't apply to the question needing an answer.

It was a lot like calling almost any large company these days and getting the automated phone "help" system. The kind, you know, that makes you go through half an hour of all sorts of keypress input before it tells you you have to speak with a rep - and by then the staff has gone home for the day and you have to go through all that again the next time. 😀

I'll be glad to help if I can. Like I said, I'm perfectly new to this but I do have experience with programming and technical writing as well as customer support.


I missed replying to the part where you asked about the incomplete docs. I just posted a pretty detailed answer and now I can't find it. Oh, well. If it doesn't show up I'll try again.

In the meantime, the gist was that I had no idea what term to search for so I got no results which had anything to do with my question. That was in the wiki and in the PDF manual. Now, I know the term is "textarea" but I had no idea at first. I guess the info about changing font size in "textarea" doesn't have keywords to allow a search to find it when using terms like "font", "reply", "comment" and so on. Those are some of the words I searched for and got overloaded with things that didn't apply to my question.

I'll help with the docs if I can, so don't take this as a complaint. It's just an explanation of why I asked here. I'd already been through the docs as much as I could. It was like looking for a needle in a haystack when I didn't even know which haystack to look in.

Just to clarify, "textarea" isn't a Tikiwiki-specific term. It's the standard web syntax for the multi-line boxes text is input into on web pages. Since TikiWiki is a web application, some general HTML and CSS editing know-how would be good to have before getting into Tiki-specific things.

The Tiki docs site is actually mostly about using Tiki as it ships rather than how to modify it, so I was off the mark to suggest it in this case. Themes.tikiwiki.org is a better resource for modifying the layout, but I don't recall any pages there about changing text sizes, so probably the forums, either at that site or here, are the best places to get answers. (Probably there should be a FAQ on this topic.)

-- Gary