Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: wendallb on December 24, 2008, 11:33:05 AM

Title: Font Size
Post by: wendallb on December 24, 2008, 11:33:05 AM
I have a forum for senior citizens and would like to increase the size of the font on the forum just a little to make it easier to read for us folks that are older 4 eyes...

I am using 2.0 beta 4 and the default theme...

I don't know which CSS file to edit...

Thanks,
Title: Re: Font Size
Post by: sherpa サイバー侍 on December 24, 2008, 12:19:39 PM
style.css
Title: Re: Font Size
Post by: wendallb on December 24, 2008, 12:21:27 PM
Thanks I will give it a try...

Happy Holidays...
Title: Re: Font Size
Post by: wendallb on December 27, 2008, 04:19:03 PM
OK I am lost,  version 2.0 beta 4 default theme

I am looking at style.css and trying to figure out how to increase the size of the font on the menu buttons so help please..

Thanks,
Title: Re: Font Size
Post by: Tyrsson on December 27, 2008, 06:09:17 PM
Look in the css sub directory in the default theme. There you will find the index.css. In this file look for the following:

Line#108

Find:
#main_menu li a
{
float: left;
display: block;
color: white;
font-size: 0.8em;
font-family: tahoma, sans-serif;
text-transform: uppercase;
}


Replace with:
#main_menu li a
{
float: left;
display: block;
color: white;
font-size: 1em;
font-weight: bold;
font-family: tahoma, sans-serif;
text-transform: uppercase;
}


Note: This will also bold the text. If you do not want the text bold then remove this:

font-weight: bold;

This should do the trick :)

Title: Re: Font Size
Post by: wendallb on December 27, 2008, 06:32:55 PM
Thank you that got it...

Happy New Year

Title: Re: Font Size
Post by: Sudhakar Arjunan on December 27, 2008, 06:58:07 PM
I found this post, really useful for me too.

I have a question too, Do we ( admin ) have provision to set one particular font to each user either user could select there default font.
Title: Re: Font Size
Post by: Tyrsson on December 27, 2008, 07:12:42 PM
That would take changes to the script to allow.

The font style is set in either the css or sometimes within the hard code (depending on the version and theme). You can select the font that is used but once selected it will apply throughout the forum.
Title: Re: Font Size
Post by: Sudhakar Arjunan on December 29, 2008, 01:20:09 PM
Hi Trysson,

You are right, but i need to have a font mod which each user could select there font throughout the forum.
Title: Re: Font Size
Post by: Rumbaar on January 18, 2009, 11:13:51 PM
Well users, as defined by their browser, can set the height of their display text.

But if you want this as a modification to SMF you'll have to try the Mod request section.
Title: Re: Font Size
Post by: Tyrsson on January 18, 2009, 11:15:24 PM
Quote from: Rumbaar on January 18, 2009, 11:13:51 PM
Well users, as defined by their browser, can set the height of their display text.

But if you want this as a modification to SMF you'll have to try the Mod request section.
Very true Rumbaar