Login Form

GK User
Fri Sep 05, 2014 9:30 pm
Hello,

How do you remove the create an account button from the login form? Also, your login form does not scale on mobile devices and is unusable.

Thanks,

Wes
User avatar
Fresh Boarder

GK User
Mon Sep 08, 2014 5:35 pm
Hello,

You can remove this button by removing the following fragment from the layouts/blocks/tools/login.php file:

Code: Select all
<?php if($userID == 0) : ?>
   <a class="button" href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration"><?php echo JText::_('TPL_GK_LANG_REGISTER_POPUP'); ?></a>
<?php endif; ?>


Which login form doesn't scale on mobile? Could you provide an example?
User avatar
Administrator

GK User
Wed Sep 24, 2014 5:12 pm
mobile.css add

Code: Select all
#gkPopupLogin {
   margin-left: -150px;
   width: 300px;
}
#gkPopupCart .vmGkCartProducts > div > div {
   margin-left: 85px;
}
#gkPopupCart .gkTotal {
   font-size: 40px;
   margin: 0 0 0 85px;
}
span#fb-auth {
   padding: 7px 8px 7px 7px;
}
.gkPopupWrap {
   padding: 15px;
}
.gkPopupWrap h3 {
   font-size: 20px;
   font-weight: 400;
   line-height: 24px;
   margin: 0 0 10px;
}
.gkPopupWrap h3 a {
   font-size: 14px;
}

User avatar
Gold Boarder


cron