Who is online text align

  • arsha123
    Inactive member
  • Topic Author
  • Member
  • Member
More
14 years 1 month ago #3397 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 Log in to join the conversation.

  • arsha123
    Inactive member
  • Topic Author
  • Member
  • Member
More
14 years 1 month ago #3398 by arsha123

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
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') . '&nbsp;'; 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 '&nbsp;' . JText::_('and') . '&nbsp;'; endif; if ($count['user'] == 1) : echo JText::sprintf('member', '1'); else : if ($count['user'] > 1) : echo JText::sprintf('members', $count['user']); endif; endif; echo '&nbsp;' . 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
Powered by Kunena Forum