Login and Register buttons modalbox size change

Unique Joomla 1.5 template with powerful navigation and stunning design discussion forum
GK User
Mon Aug 02, 2010 10:35 pm
For the Pulse template, how do I adjust the sizes of the Login and Register modalbox?

I've extended these to include Facebook Login and I need more space.

Thanks,
George
User avatar
Fresh Boarder

michalkie
Tue Aug 03, 2010 8:28 am
Hi,

Please edit file template.css:

Code: Select all
#gk-toolbar { overflow:hidden; color:#6c6459; float:right;display:inline-block;background:url("../images/login_bg_r.png") no-repeat scroll right 0 transparent;margin:11px 12px 0 0;padding-right:12px;height:24px; max-width:175px;}


and set "max-width" what you need.
User avatar

GK User
Tue Aug 03, 2010 8:39 am
michalkie wrote:
Hi,

Please edit file template.css:

Code: Select all
#gk-toolbar { overflow:hidden; color:#6c6459; float:right;display:inline-block;background:url("../images/login_bg_r.png") no-repeat scroll right 0 transparent;margin:11px 12px 0 0;padding-right:12px;height:24px; max-width:175px;}


and set "max-width" what you need.


I don't have a file called tempate.css in my gk_pulse template directory.
Only template_css.css

If I grep for gk-toolbar, max-width or even 175 I can't find these words anywhere in the template directory files.
User avatar
Fresh Boarder

michalkie
Tue Aug 03, 2010 9:48 am
Sorry, we use file "template.css" in new update of this template.
Could you send me link to your site?
User avatar

GK User
Tue Aug 03, 2010 9:49 am
User avatar
Fresh Boarder

michalkie
Tue Aug 03, 2010 10:22 am
I see you want to set height in login/register popups.

Please edit file: templatesgk_pulselibscriptstemplate_scripts.js

Code: Select all
   if($('login')) $('login').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_login',600,80);
   });
   
   if($('login_noborder')) $('login_noborder').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_login',600,80);
   });
   
   if($('register')) $('register').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_register',500,300);
   });


change to:

Code: Select all
   if($('login')) $('login').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_login',600,100);
   });
   
   if($('login_noborder')) $('login_noborder').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_login',600,100);
   });
   
   if($('register')) $('register').addEvent("click",function(e){new Event(e).stop();
      gk_popup('popup_register',500,320);
   });
User avatar

GK User
Tue Aug 03, 2010 10:38 am
Perfect. Thanks!
User avatar
Fresh Boarder


cron