Topic-icon Buttons and Settings in the SCModule.

Active Subscriptions:

None
12 years 4 months ago #41010 by maahur
How can I change the Layout of this SCLogin popup.

As seen in the image below:

1. The Login button is bigger than normal
2. The facebook button is below and totally out of the form.
3. Is there a possibility that I can also remove the "Powered by ... " text?

File Attachment:
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago #41013 by maahur
1. Even the logout I would like to have a link instead of the button
2. Can I have the Logout button in the same line as the Welcome message?

File Attachment:
The topic has been locked.
Support Specialist
12 years 4 months ago #41017 by alzander
Maaz,
The easiest way to help you style that module is to let us know the page we can see it on. That way, we can understand any template CSS conflicts that may be an issue. The next release of the SCLogin module will have a much better template system where it should be easier to modify the CSS, just so you know. As to your specific questions:
1) Let me know the URL and we'll help
2) Where would you like the button? You'd need to make some edits to the template, but we can help you with that. Just so you know though, the "Remember Me" function doesn't work with Facebook, so if you put the Facebook button between the Login and Remember me button, that would likely be confusing to your users as well.
3) There is a "Show Powered By" option in the SCLogin module. Simply disable that.

For the 2nd set of questions:
1) You'd need to edit the /modules/mod_sclogin/tmpl/logout.php file and change the button to an <a href to change that style.
2) This would require some CSS. Again, please let us know the page to view the logout area on. Also, please create a test account and let us know the credentials we can login with.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago #41019 by maahur
1. The URL is www.designerswardrobe.com/store-home
2. Ideally I would like to have it beside Login and Register buttons.
3. I figured that out

1. Will do
2. The URL is www.designerswardrobe.com/store-home
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41081 by maahur
Hi Alex,
Any update on this?
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41082 by maahur
I even tried making the button to <a href> but I dont think its very straight forward. As the button is a "Submit" and there are loads of hidden fields in the Form that goes when the Submit button is clicked.

Any other ideas for the Logout button?
The topic has been locked.
Support Specialist
12 years 3 months ago #41099 by alzander
Sorry for the delay:
1) Login button height. templates/jm-modern-store/css/template.css at line 527 is setting the height of all buttons to 55px
To fix, either remove that line or add the following to your template:
.sourcecoast button {
height: 30px;
}

2) Moving the Facebook Login
Moving it inline with that would take a bit of PHP changes and likely some CSS. I'll have to look into the best option for doing that. For now, I'd recommend checking the options in the SCLogin module for positioning the social buttons on the right of the module instead of the bottom. That may work out for you, but if not, let us know.

5) Logout / Greeting placement:
Add the following to your template's CSS:
.sclogin-greeting {
float: left;
}
.sclogout-button form {
margin: 0;
}
I hope that helps get you going, but should you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41224 by maahur
Thank you alex,
1 and 5 worked perfect.

Now for # 2:
I am not sure the Right align works for me. I think I will play around a little more and check if I can make the page look something better.

Thanks anyway. I will let you know if I need something.
The topic has been locked.
Support Specialist
12 years 3 months ago #41232 by alzander
Glad to hear we could help get things going better for you. Should you need more help, just let me know.

Thanks,
Alex
The topic has been locked.