0
Welcome Guest! Login
0 items Join Now

SOLVED Changing the css of only the login module

    • Theozard's Avatar
    • Theozard
    • Rocketeer
    • Posts: 53
    • Thanks: 0

    Re: SOLVED Changing the css of only the login module

    Posted 17 years 5 months ago
    • one questions...what if it's a cb login module..i tried modifying according to the syntax...does not work
      $txtusername = '<label for="mod_login_username'.$class_sfx.'">'._USERNAME."</label>";

      $txtpassword = '<label for="mod_login_password'.$class_sfx.'">'._PASSWORD."</label>";
  • Re: SOLVED Changing the css of only the login module

    Posted 17 years 5 months ago
    • You may need to remove '.$class_sfx.' first.
    • James Spencer / Developer & Support / Hull, UK
    • Theozard's Avatar
    • Theozard
    • Rocketeer
    • Posts: 53
    • Thanks: 0

    Re: SOLVED Changing the css of only the login module

    Posted 17 years 5 months ago
    • ahh...only in that line or the entire module?
  • Re: SOLVED Changing the css of only the login module

    Posted 17 years 5 months ago
    • For the references you have shown.
    • James Spencer / Developer & Support / Hull, UK
    • Theozard's Avatar
    • Theozard
    • Rocketeer
    • Posts: 53
    • Thanks: 0

    Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • one more...how can i change only the register link :)
  • Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • You mean where it leads to?
    • James Spencer / Developer & Support / Hull, UK
    • Theozard's Avatar
    • Theozard
    • Rocketeer
    • Posts: 53
    • Thanks: 0

    Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • No. The css styling :D
  • Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • Open the login.php file,

      Find
      <td>
      <?php echo _NO_ACCOUNT; ?>
      <a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>">
      <?php echo _CREATE_ACCOUNT; ?></a>
      </td>

      Change to
      <td class="register">
      <?php echo _NO_ACCOUNT; ?>
      <a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>">
      <?php echo _CREATE_ACCOUNT; ?></a>
      </td>

      Now add the following to your stylesheets with your modifications
      td.register{
      }
    • James Spencer / Developer & Support / Hull, UK
    • Theozard's Avatar
    • Theozard
    • Rocketeer
    • Posts: 53
    • Thanks: 0

    Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • I tried it but it seems that it's not working :(
  • Re: SOLVED Changing the css of only the login module

    Posted 17 years 4 months ago
    • Maybe edit
      <a href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>">

      To
      <a class="register" href="<?php echo sefRelToAbs( 'index.php?option=com_registration&task=register' ); ?>">

      Then add
      a.register{
      }

      And customise from there
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.053 seconds