Topic-icon SC Login and Bootstrap 3

Active Subscriptions:

None
9 years 11 months ago #43410 by cyclemycity
Does SCLogin work with BS3? I'm trying a new template on my local host and can't get the modal box to appear when clicking login.

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

None
9 years 11 months ago #43411 by cyclemycity
By the way, I'm trying to use it on T3 BS3 Blank... Thanks.
The topic has been locked.
Support Specialist
9 years 11 months ago #43422 by alzander
Replied by alzander on topic SC Login and Bootstrap 3
It was developed with BS2, as that's what Joomla has built-in support for. We'd like to add BS3 support at some point in the future, but for now, our CSS file that's included is BS2. Our CSS is namespaced specifically to our extensions though, so it should likely still work, but may have some graphical problems.

If you can let us know a page to check out that has things configured, we'll gladly take a look and see if we can help get things going for you.

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

None
9 years 11 months ago #43453 by cyclemycity
Alex,

Thanks for getting back to me.

I was able to solve the problem after you mentioned that it could have some graphical problems. I found the element names using another template and was able to trace the problems. I made the following changes to sc_bootstrap.css. I'd appreciate it if you could let me know if I should be changing different elements to avoid somethig I haven't found/noticed from getting mixed up as a result!

1. I added "display: block !important; " to ".sourcecoast.modal.fade.in" around line 95 as it was being overruled by "display: none !important" in a BS3 .hide
2. I added "bottom: inherit;" to ".sourcecoast.modal.fade.in" around line 95 as it was being overruled by a "bottom: 0" which stretched the modal to the bottom of the screen.
3. I commented out /*margin: 0 0 0 -40%;*/ in .sourcecoast.modal as it pushed the modal off-center.
4. I added "display: inline-block;" to ".sourcecoast button, .sourcecoast input" around line 240 as the check box and 'remember me' didn't lie up. This is the one that I'm most concerned may have adverse effects elsewhere, but I'm not sure - I haven't seen anything.

Thanks,
Matthew
The topic has been locked.
Support Specialist
9 years 11 months ago #43480 by alzander
Replied by alzander on topic SC Login and Bootstrap 3
Matthew,
Thanks for the feedback and changes that worked for you. The changes above seem correct and pretty innocuous as far as causing other conflicts. I don't *think* you'll run into any other issues with our stylings with those changes, but obviously keep an eye on things.

Also, please keep a copy of that CSS file so that you can re-implement the changes in the next release(s). At some point, I'm sure we'll have a BS3 compatibility layer to make sure it works with both versions, but it's not the highest priority item we have right now. I hope you understand.

Should you need anything else, just let me know!

Thanks,
Alex
The topic has been locked.