Login Greeting Colour - Joomla! Forum - community, help and support
hi,
another quickie. how change colour of 'hi <username>' text? background makes white unreadable. there way of getting rid of comma @ end?
thanks,
wasila
another quickie. how change colour of 'hi <username>' text? background makes white unreadable. there way of getting rid of comma @ end?
thanks,
wasila
the best place change colour of username via template's css files. since login form in left column check css selectors applicable column first. if have difficulty finding correct selector , don't mind hacking module code directly (not rocommended) open "modules > mod_login > tmpl > default.php" , following code:
, change first "div" tag like
change "your colour here" whatever colour wish.
you can remove comma after "username" follows: navigate language > en-gb > en-gb.mod_login.ini. @ around line 14, remove comma [code]hiname=hi %s,[/code
code: select all
<div>
<?php if ($params->get('name')) : {
echo jtext::sprintf( 'hiname', $user->get('name') );
} else : {
echo jtext::sprintf( 'hiname', $user->get('username') );
} endif; ?>
</div>
code: select all
<div style="color: colour here">
change "your colour here" whatever colour wish.
you can remove comma after "username" follows: navigate language > en-gb > en-gb.mod_login.ini. @ around line 14, remove comma [code]hiname=hi %s,[/code
Comments
Post a Comment