TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 113
  • Total: 113

Change Text, Stats & User

Started by Polymath, August 06, 2007, 08:16:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Polymath

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.

Nokonium

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.



Polymath


This website is proudly hosted on Crocweb Cloud Website Hosting.