Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "eCommerce" VirtueMart/Joomla template

Topic-icon Who is online text align

More
6 years 2 months 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.

More
6 years 2 months ago #3398 by arsha123

Please Log in to join the conversation.

More
6 years 2 months ago #3400 by milos
Please edit file /modules/mod_whoisonline/tmpl/default.php and change it to:
<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.108 seconds

Links, Partners and Social Media