Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Joges - maaliskuu 28, 2006, 01:12:38 AP

Otsikko: CAPS - Oh dear!
Kirjoitti: Joges - maaliskuu 28, 2006, 01:12:38 AP
How to turn all the links in capital on SMF 1.1 RC2 default skin to one's where the first letter is only big? Would like to check it out how it looks like ;) This might be a silly question, but I'm so new to SMF and it's theming system.
Otsikko: Re: CAPS - Oh dear!
Kirjoitti: hc - maaliskuu 28, 2006, 12:32:53 IP
Hi

Not sure which of these you mean so I'll describe both.

EITHER :

If you mean you want to change

to

Then you'll need to edit the default themes stylesheet(you may wish to make a copy of the default theme first using admin>themes and layout>Manage and Install and make the changes to that)

find .maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
   background-position: left bottom;
   color: white;
   text-transform: uppercase;
   vertical-align: top;

}


and remove text-transform: uppercase;

so it looks like .maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
   background-position: left bottom;
   color: white;
   vertical-align: top;

}


then find .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
   background-position: left top;
   color: white;
   text-transform: uppercase;
   vertical-align: top;

}


and again remove text-transform: uppercase;

Save the stylesheet.

OR :

If you want to make all links in the forum uppercase then add the line text-transform: uppercase; to both a:link
{
   color: #476C8E;
   text-decoration: none;
}
and a:visited
{
   color: #476C8E;
   text-decoration: none;
}


in the stylesheet and save.
Otsikko: Re: CAPS - Oh dear!
Kirjoitti: Joges - maaliskuu 29, 2006, 02:30:21 AP
The first one.. Thank you very much!