Zen Cart Logo

Center Login box

Locked

Views: 734

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Apr 2010, 2:01 PM
#1
centurion111 avatar

centurion111

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Center Login box

I've just recently installed Linda McGrath's login box add-on. Then I had to change the size of the left side boxes in order to accommodate a bolder font. This situated the login boxes too far to the left, in relation to the login button. I've tried editing the stylesheet.css as well as the login box.php's but I can't find the right line of code or there's some line of code that needs to be added. I'd be grateful for any suggestions.

Regards
Jacob

7 Apr 2010, 2:56 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Center Login box

Ce,
Can you post a link to the site please so I can view in Firefox with the add on called Firebug that allows me to locate the id or class that controls the stylesheet.css

8 Apr 2010, 4:48 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Center Login box

Ce,
Find this:

includes/templates/clean_business/css/stylesheet.css

Add this to the bottom of the stylesheet.css

#loginboxContent {text-align: center;}

8 Apr 2010, 5:05 PM
#5
centurion111 avatar

centurion111

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Center Login box

It worked like a charm. I guess I should buy a Braid... Thanks a lot!

/Jacob

8 Apr 2010, 7:38 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Center Login box

Ce,
You are most welcome, glad I could fix the problem.. :smile:

12 Apr 2010, 6:47 PM
#7
centurion111 avatar

centurion111

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Center Login box

Ms. Haredo!

I feel retarded but I need to ask for your help... when I issued the "center command" for the "loginBoxContent" the login links centered as well (when logged in). I think I've found the "class" it's "loginBoxLinks".

I tried: .loginBoxLinks {
text-align: left;
}

that didn't move a thing.. then I tried:

.loginBoxLinks {
float: left;
}

it moved the links a little further to the left but it looks like a mess.. Plz I need ur help!

login: user[@]mail.com (without the paranthesis)
password: password