Change color of text

DphpBB3 Last Topics module (mod_dphpbb3_last_topics) shows the last topics from your phpBB 3.0.x forum.

Change color of text

Postby electromech » Sat May 15, 2010 6:42 pm

Love the module but I have a quick question. Where can the color of the dated text be changed. I have a blue background for this module position and the dated text blends in. The posted text from the forum is white so thats fine. Is there a seperated CSS for this module or will I have to change it on my template CSS. Or si there a way to just simply remove the posted time and date?

Thanks in advance.

electromech
 
Posts: 1
Joined: Sat May 15, 2010 6:40 pm

Re: Change color of text

Postby Darkick » Sat May 15, 2010 7:45 pm

Of course you can describe classes via your template CSS files.
But the module can load personal CSS file. To use this function you must create file named style.css in one of these folders:
  • {joomla_root}/templates/{you_template}/html/mod_dphpbb3_last_topics/
  • {joomla_root}/modules/mod_dphpbb3_last_topics/tmpl/
By default date text is under such CSS structure:
Code: Select all
li.mod_dphpbb3_last_topics-topic small {
...
}

but the Username is there too.
But yoy can easy modify output format (and exclude date). In the module settings specify parameter Topic output format. If it blank then default value used:
Code: Select all
$title<br /><small>$username ($date)</small>

Enter format you wish, for example:
Code: Select all
$title<br /><small>$username</small>

or
Code: Select all
$title<br /><small>$username <span style="color: #000">($date)</span></small>

etc...

Darkick
 
Posts: 204
Joined: Fri Sep 04, 2009 10:16 pm
Location: Russia, Ekaterinburg


Return to DphpBB3 Last Topics

Who is online

Users browsing this forum: No registered users and 1 guest