Using SCLogin in Simplicity template

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 05, 2015 8:55 pm
Reply with quote
Report this post
I need the User Login to redirect back to where the user was when they started Login. I am looking at adding SCLogin to do this.

I found this thread in the Forum that says that I cannot just substitute SCLogin instead of template Login because Logint is a special design. Is this still true?
https://www.gavick.com/forums/news2-joo ... in#p193025

So ... I have the plan to make an article+menu-item to add SCLogin to my main menu and then the SCLogin would show in the article. I will put the SCLogin in the Main Body Top because it won't show in the Main Body or Login positions. Right now it is too wide. :-P

Is there a Module Class Suffix in the Simplicity template I can use to set the width?
User avatar
Junior Boarder

GK User
Thu Aug 06, 2015 8:59 pm
Reply with quote
Report this post
OK I found a better way! I can add the social login buttons I need to the Template Login and keep the very nice Simplicity styling. It looks like the buttons are added to Mainbody_bottom position.

Is there a Template CSS Custom Code I can use to align the Mainbody_ottom of the Template Login to Center?

You already gave me this one which works great, perhaps something similar?

#gkMainbody .login {
max-width: 400px;
margin: 0 auto;
}
User avatar
Junior Boarder

teitbite
Fri Aug 07, 2015 10:34 am
Reply with quote
Report this post
Hi

I'm afraid I do not understand. Can You please tell me the url to the page in question and explain what you wish to align and where ?
User avatar
Moderator

GK User
Fri Aug 07, 2015 7:14 pm
Reply with quote
Report this post
We are on development server, I sent the URL by PM. Sorry I should have thought of a screenshot, we're trying to center the social login button element that the component puts on the Template Login page as shown here

Login.png
User avatar
Junior Boarder

teitbite
Sat Aug 08, 2015 1:43 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#gkMainbody .sourcecoast.login {
    display: block;
    margin-top: 25px;
}
User avatar
Moderator

GK User
Mon Aug 10, 2015 12:25 am
Reply with quote
Report this post
This worked perfectly. Thank you so much! :)
User avatar
Junior Boarder


cron