UBB.Dev
Posted By: bdoughty How to increase font size? - 06/20/2003 6:24 PM
I need to figure out how to increase the font size in the below section. Actually I only need the username increased but if the whole section has to be the same that is okay.



bdoughty
Newbie
(avatar)
Reged: 02/12/03
Posts: 19


http://forums.operationsports.com//ubbthreads/ubbthreads.php

On ours they are simply to small.
Posted By: JoshPet Re: How to increase font size? - 06/20/2003 7:07 PM
That would be the "small" class defined in the stylesheets. Adjust that size bigger and you should be set.
Posted By: bdoughty Re: How to increase font size? - 06/20/2003 7:09 PM
Edit: Well it did change alot of the text but did not affect those items?

Could there be another .css entry made that prevents it?

I will go ahead and list the stylesheet

The only change I made was adding 10pt to small.



:link {
background-color: transparent;
color: #000066;
text-decoration: none;
}

a:link, a:visited, a:active, a:hover {
}

a:visited {
color: #000066;
text-decoration: none;}

a:hover {
color: #FF0000;
text-decoration: none;
}

a:active {
background-color: transparent;
text-decoration: none;
color: #000066;
}

blockquote {
border: #314252 1px solid;
font-size: 12px;
margin: 1px;
padding: 1px;
width: 600px;
}

blockquote .small {
background: #314252;
color: #ffffff;
margin-left: 1px;
padding: 2px;
}

blockquote hr {
visibility: hidden;
}

body {
background-color: #A9A9A9 ;
background-image: url(/ubbthreads/images/bdtest/gridbk.gif);
border: 0px;
color: #000000;
font-size: 12px;
margin: 0px;
padding: 0px;
}

body {
scrollbar-3dlight-color: #636363;
scrollbar-arrow-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #394A5A;
scrollbar-highlight-color: #556F7F;
scrollbar-shadow-color: #000000;
scrollbar-track-color: #617189;
}

body, p, table, td, tr, font {
font-family: Ms Sans Serif , tahoma , Verdana , Arial , helv , Times New Roman , Times , serif;
font-size: 12px;
}

div.footer {
margin-top: 20px;
}

form {
border: 0px;
margin: 0px;
padding: 0px;
}

hr {
border: 1px;
display: none;
}

pre {
background-color: #A9A9A9 ;
border-color: #617189;
border-style: solid;
border-width: 1px;
color: #FFFFF8;
font-size: 12px;
height: 100px;
margin: 2px;
overflow: auto;
padding: 3px;
width: 400px;
}

pre .small {
background: #314252;
color: #000000;
margin-left: 1px;
padding: 2px;
}

select {
background-color: #A9A9A9 ;
color: #000000;
font-size: 12px;
}

td.utility {
background-color: #E6D7C3;
border-bottom: 1px solid #000000;
color: #000000;
font-size: 12pt;
padding-bottom: 3px;
padding-top: 3px;
}

td.utility a {
font-size: 10px;
text-decoration: none;
}

td.utility a:hover {
text-decoration: underline;
}

.admin {
background-color: transparent;
color: #000000;
}

.alternatetable {
background-color: #A9A9A9 ;
color: #000000;
}

.avatar {
font-size: 12px;
}

.bottom {
background-color: transparent;
background-image: url(/ubbthreads/images/bdtest/bottom.gif);
background-position: top right;
background-repeat: no-repeat;
color: #000000;
height: 16px;
width: 150px;
}

.buttons {
background-color: #E7E7E7;
border-color: #CCCCCC;
border-style: solid;
border-width: 1px;
color: #000000;
font-size: 12px;
}

.catandforum {
}

.cleartable {
background-color: #A9A9A9 ;
color: #000000;
}

.darktable {
background-color: #A9A9A9 ;
color: #000000;
font-size: 12px;
}

.footer, .footer {
font-size: 0.12in;
margin-bottom: 10px;
margin-top: 10px;
text-align: center;
}

.footertable {
background-color: #A9A9A9 ;
color: #000000;
}

.formboxes {
background-color: #A9A9A9 ;
border-color: #CCCCCC;
border-style: solid;
border-width: 1px;
color: #000000;
font-size: 12px;
}

.forum {
background-color: transparent;
color: #000066;
}

.forumdescript {
background-color: transparent;
color: #000000;
font-size: 12px;
}

.forumtitle {
background-color: transparent;
color: #C1BFBF;
font-size: 12px;
font-weight: bold;
}

.forumtitle a:link {
background-color: transparent;
color: #000066;
font-size: 12px;
text-decoration: none;
}

.forumtitle a:visited {
background-color: transparent;
color: #000066;
font-size: 12px;
text-decoration: none;
}

.forumtitle a:hover {
background-color: transparent;
color: #FF0000;
font-size: 12px;
text-decoration: none;
}

.forumtitle a:active {
background-color: transparent;
color: #000066;
font-size: 12px;
text-decoration: none;
}

.header {
background-image: url(/ubbthreads/images/bdtest/Image5.gif);
width: 100%;
}

.header-top-middle {
background-color: transparent;
background-image: url(/ubbthreads/images/bdtest/oslogoblack.gif);
background-position: center;
background-repeat: no-repeat;
color: #000000;
}

.lighttable {
background-color: #A9A9A9 ;
color: #000000;
font-size: 12px;
}

.menubar {
background-color: #A9A9A9 ;
color: #000000;
}

.navigation {
background-color: #E7E7E7;
border-color: #556F7F;
border-style: solid;
border-width: 1px;
color: #000066;
font-size: 12px;
}

.new {
background-color: transparent;
color: #000066;
font-family: Ms Sans Serif , tahoma , Verdana , Arial , helv , Times New Roman , Times , serif;
font-size: 12px;
}

.newdarktable {
background-color: #A9A9A9 ;
color: #000000;
font-weight: bold;
}

.newlighttable {
background-color: #A9A9A9 ;
color: #000000;
font-weight: bold;
}

.newpostsincat {
background: #FFFF00;
color: #000000;
}

.newsubjecttable {
background: #A9A9A9 ; /* <!-- Used on the showflat/showthreaded screens --> */
color: #000000;
font-weight: bold;
}

.number {
background-color: transparent;
color: #000000;
}

.onbody {
background-color: transparent;
color: #000000;
font-size: 12px;
}

.onbody a:link {
background-color: transparent;
color: #000066;
}

.onbody a:visited {
background-color: transparent;
color: #000066;
}

.onbody a:active {
background-color: transparent;
color: #000066;
}

.pollcolor {
background: #FF0000;
color: #000000;
}

.pollcolor {
background-color: #000066;
border: #000000 1px solid;
color: #000000;
}

.post {
font-family: Ms Sans Serif , tahoma , Verdana , Arial , helv , Times New Roman , Times , serif;
font-size: 13px;
font-weight: normal;
}

.posted-by {
background-color: transparent;
border-color: #556F7F;
border-style: solid;
border-width: 0px 0px 1px 0px;
color: #000000;
font-size: 12px;
font-weight: normal;
padding: 3px;
}

.post-footer {
background-color: transparent;
border-color: #556F7F;
border-style: solid;
border-width: 1px 0px 0px 0px;
color: #000000;
font-size: 12px;
font-weight: normal;
padding: 3px;
}

.post-icon {
background-color: transparent;
border-color: #556F7F;
border-style: solid;
border-width: 1px 1px 0px 1px;
color: #000000;
font-size: 12px;
font-weight: normal;
}

.posttime {
background-color: #A9A9A9 ;
color: #000066;
font-size: 12px;
}

.posttotal {
background-color: #314252;
border-color: #000000;
border-style: solid;
border-width: 1px;
color: #E7E7E7;
font-size: 12px;
}

.profile {
background-color: transparent;
color: #CCCCCC;
}

.small {
font-size: 10pt;
color: #E7E7E7;
}

.standouttext {
}

.subjecttable {
background-color: #A9A9A9 ;
color: #000000;
}

.tableborders {
background-color: #4A5A6F;
color: #000000;
}

.tablesurround {
background-color: #4A5A6F;
border-color: #556F7F;
border-style: solid;
border-width: 1px;
color: #000000;
padding: 3px;
}

.tdheader {
background-color: #2D3D4B;
background-image: url(/ubbthreads/images/bdtest/canvasbk.gif);
border-color: #000000;
border-style: solid;
border-width: 1px;
color: #000066;
empty-cells: show;
font-size: 12px;
font-weight: normal;
padding: 3px;
}

.threadtotal {
background-color: #314252;
border-color: #000000;
border-style: solid;
border-width: 1px;
color: #E7E7E7;
font-size: 12px;
}

.top {
background-color: transparent;
background-image: url(/ubbthreads/images/bdtest/top.gif);
background-position: bottom left;
background-repeat: no-repeat;
color: #000000;
height: 16px;
width: 150px;
}

.welcome {
background-color: transparent;
color: #000000;
font-size: 11px;
}
Posted By: Ian_W Re: How to increase font size? - 06/20/2003 7:53 PM
Have a look at the relevant template - and see which class is controlling the text.

If the text is controlled by say small, but you do not want other bits affected, make a copy of the class small to say small2 and alter the font-size.

Posted By: bdoughty Re: How to increase font size? - 06/20/2003 8:28 PM
I am assuming that the showflat.tmpl is the one since that is where it shows up?

<font class="catandforum">


If so the I have

.catandforum {
}

If I change it to add

font-size: 10pt;


There is no change to the section?



I am just going to have to get with JC (ubbdesign) who designed it and see if he can fix it.
Posted By: JoshPet Re: How to increase font size? - 06/20/2003 9:23 PM
Maybe his templates use different classes. I haven't looked at them.

You could add <font size=
attributes into the templates too if you wanted.
Posted By: J.C. Re: How to increase font size? - 06/20/2003 10:16 PM
Fixed.
© UBB.Developers