Posted by: mrskravitz - Thursday, 7 May 2009 06:18:56
The standard font size is too small. How do we go in and make it bigger so that we don't have to do it manually on every post we each write?
Posted by: imukai - Thursday, 7 May 2009 06:35:09
Go into the /themes folder, then into the subfolder of the theme that you are using, then open theme.css
Look for:
[code]/* font sizes */
.yafnet .smallfont { font-size: 7.5pt; }
.yafnet .largefont { font-size: 9pt; }[/code]
I believe modifying those will have the effect you're looking for.
If it's just the body text of the posts you want to alter, look for:
[code].yafnet div.postdiv {
width: 100%;
min-height: 100px;
overflow: auto;
}[/code]
and add in a font-size declaration. Think that'll work.
Posted by: mrskravitz - Thursday, 7 May 2009 06:36:36
Thank you :)
Posted by: annotoole - Thursday, 16 July 2009 02:52:24
That solution had no effect.
In the post editor there is a drop down for font size. It is by default at 5. How to change the default to 6?
Posted by: annotoole - Sunday, 19 July 2009 21:06:07
Actually, it does work. At least it does for 1.9.3. Keep in mind your browser caches css files, so you might have to force it to refresh (Ctrl-F5) after making a change to the css. Also keep in mind if you don't edit the correct css file for the correct theme that you are using, you won't see the change.
Also keep in mind the post editor you are using to write your posts might not have been written by the YAF programmers, so changing the behavior within the post editor you are using (for example, to change the "default" from 5 to 6) might be out of scope for this forum's community but rather the authors of the specific post editor. YAF provides the ability to work with many editors, so maybe you should switch to one that provides the functionality you are seeking.
In this post, someone asked how to easily change the displayed font sizes, and my answer stands. At least, for the current version (1.9.3).
If you can't get it to work, provide some more details as to what version you're using, what theme you're using, and a link to your forum so we can see that you actually made the change correctly.
Posted by: logan - Monday, 20 July 2009 16:31:25
Version 1.9.1.8
Not wrapped in yafnet class, just use
div.postdiv{
font-size:16px
}
This is at the very bottom of the theme.css file
The select dropdown for the font size only wraps the default font
with a modifier to increase or decrease the default font size.
Posted by: annotoole - Tuesday, 21 July 2009 05:03:41
I'm still hammering away at it. I went up the ladder from software engineer a long time ago but this project has me thinking about getting back into it lol.
The original fix in the theme.css mentioned above did affect the last post column in the post listings but did not affect the font size in the actual posts. The theme involved is so clean.
The adding a div.postdiv solution worked. Perhaps this was missing in the so clean theme?
Many thanks for all the help!
Oh yea I'm stuck on godaddy for another few months. The general solution for godaddy hosted problems is to move off of godaddy. I'll be doing that in a few months. The weird "we install this software for you to use but we don't support it nor do we give you the access privs you need to maintain it. Use it as is or blow" attitude/policy.
Posted by: imukai - Tuesday, 21 July 2009 07:18:09
Glad it worked. Makes more sense now to say your theme didn't have the declaration to begin with than to just blanket say it doesn't work. :cry:
Posted by: JoeOuts - Tuesday, 21 July 2009 11:17:07
For godaddy users (I am one of them) it is easier to download the latest version (YAF 1.9.3) and publish it yourself.
Hopefully godaddy will upgrade to the latest code install at some point.
Posted by: simdual - Tuesday, 25 August 2009 12:52:28
[quote=imukai]Go into the /themes folder, then into the subfolder of the theme that you are using, then open theme.css
Look for:
[code]/* font sizes */
.yafnet .smallfont { font-size: 7.5pt; }
.yafnet .largefont { font-size: 9pt; }[/code]
I believe modifying those will have the effect you're looking for.
If it's just the body text of the posts you want to alter, look for:
[code].yafnet div.postdiv {
width: 100%;
min-height: 100px;
overflow: auto;
}[/code]
and add in a font-size declaration. Think that'll work.[/quote]
It worked to me adjusting the second part:
[code].yafnet div.postdiv {
width: 100%;
min-height: 100px;
overflow: auto;
font-size: 10pt;
}[/code]
Thanks!