- Posts: 39
- Thank you received: 0
Who is online text align
-
arsha123
Inactive member - Topic Author
- Member
Less
More
14 years 1 month ago #3397
by arsha123
Who is online text align was created by arsha123
hi,
Please check " pak-afghan-jewels.com/jewels " check on right side "who's Online" the text below the Menu heading is on left side without any style. I want it center aligned but I see no style defined. I could not find it in css. How can I adjust it in center and change font style, color etc.
regards
aneeesB)
Please check " pak-afghan-jewels.com/jewels " check on right side "who's Online" the text below the Menu heading is on left side without any style. I want it center aligned but I see no style defined. I could not find it in css. How can I adjust it in center and change font style, color etc.
regards
aneeesB)
Please Log in to join the conversation.
-
arsha123
Inactive member - Topic Author
- Member
Less
More
- Posts: 39
- Thank you received: 0
14 years 1 month ago #3398
by arsha123
Replied by arsha123 on topic Re: Who is online text align
site link is
pak-afghan-jewels.com/jewels
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
14 years 1 month ago #3400
by milos
Replied by milos on topic Re: Who is online text align
Please edit file /modules/mod_whoisonline/tmpl/default.php and change it to:
Code:
<center>
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
if ($showmode == 0 || $showmode == 2) :
if ($count['guest'] != 0 || $count['user'] != 0) :
echo JText::_('We have') . ' ';
if ($count['guest'] == 1) :
echo JText::sprintf('guest', '1');
else :
if ($count['guest'] > 1) :
echo JText::sprintf('guests', $count['guest']);
endif;
endif;
if ($count['guest'] != 0 && $count['user'] != 0) :
echo ' ' . JText::_('and') . ' ';
endif;
if ($count['user'] == 1) :
echo JText::sprintf('member', '1');
else :
if ($count['user'] > 1) :
echo JText::sprintf('members', $count['user']);
endif;
endif;
echo ' ' . JText::_('online');
endif;
endif;
?>
</center>
<?php
if(($showmode > 0) && count($names)) : ?>
<ul>
<?php foreach($names as $name) : ?>
<li><strong><?php echo $name->username; ?></strong></li>
<?php endforeach; ?>
</ul>
<?php endif;
Please Log in to join the conversation.
Time to create page: 0.154 seconds