TinyPortal

Development => Support => Topic started by: Polymath on August 06, 2007, 08:16:50 PM

Title: Change Text, Stats & User
Post by: Polymath on August 06, 2007, 08:16:50 PM
Im wanting to change the font color of the stats and user blocks.

User:
Where it says 'Hey, name

and stats
Where it says 'Members'
                        Users Online

To be blue  #0000FF - blue

Members
Users Online

I got to much bold black.

I guess its styles.css

But which bit.

Thanks.
Title: Re: Change Text, Stats & User
Post by: Nokonium on August 06, 2007, 10:22:45 PM
Quote from: Polymath on August 06, 2007, 08:16:50 PM
Im wanting to change the font color of the stats and user blocks.

User:
Where it says 'Hey, name

TPortalBlocks.template circa lines 407 to 409

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged']){
echo '<span class="normaltext">', $txt['hello_member'], ' <b>', $context['user']['name'], '</b></span>';


The style class is a general one 'normaltext'

Quoteand stats
Where it says 'Members'
                        Users Online

Same file starting circa line 530. The key line is circa line 537

<div class="smalltext" style="font-family: verdana, arial, sans-serif;">

The style class is another general one 'smalltext'.

If you change those styes you will end up with a whole lot of bold blue.

To change selective text the way I'd go about it is to wrap a custom syle in a <span> or <div> around each bit.


Title: Re: Change Text, Stats & User
Post by: Polymath on August 06, 2007, 10:35:51 PM
Thankyou very much nokonium