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

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:

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>
, change first "div" tag like

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

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support