Font Size =D

Started by DadL, August 18, 2007, 06:18:19 AM

Previous topic - Next topic

DadL

I've been searching the forum where to find the answer but I cannot find it.

How can I make the font size larger in:
(Users Online) Users active
and in
Last post by (username)

Dragooon

You will be requiring to edit the style.css as far as I know

DadL

#2
I hope I could find a precise solution  :D

H

Are you using the default theme?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

DadL

#4
Yes Im using the default theme v1.1.3









EDIT: I removed my forum link

codenaught

Dragoon, those are pretty specific elements where if the user wants to just change those, they would have to modify the templates.

DadL, open Themes/<theme_name>/BoardIndex.template.php

Find:

<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />

Change it to something like:

<span style="font-size: 15px;"><b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '</span><br />

Changing the "15px" to whatever size you want.

As for the users online one, do you mean "Users active in past X minutes:"?

If so find:

', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

Change to:

<span style="font-size: 15px;">', $txt[140], ':</span><br />', implode(', ', $context['list_users_online']);

Again changing the "15px" size to whatever you want.
Dev Consultant
Former SMF Doc Coordinator

DadL

Hi akabugeyes,
By trying what you've said.
I realized my question was wrong (I'm sorry)  :)

Here are the screen shots in which
I want to make the font size larger:







codenaught

No worries. :)

For last post,

Find:

', $txt['smf88'], ' ', $board['last_post']['link'], '<br />

Change to:

<span style="font-size: 15px;">', $txt['smf88'], ' ', $board['last_post']['link'], '</span><br />

For the other one, look for the same code I posted before, but instead change it to:

', $txt[140], ':<br /><span style="font-size: 15px;">', implode(', ', $context['list_users_online']) . '</span>';
Dev Consultant
Former SMF Doc Coordinator

DadL


Advertisement: