How to make modal screen appear in centre of browser

How to make modal screen appear in centre of browser

The SCLogin modal popup appears in the top left corner of the browser. The jquery setting is set to "NO". When I enable jQuery then it appears in the center of the screen but you cannot close the modal screen.

fb_1582987308
Rene
useravatar
Offline
56 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to make modal screen appear in centre of browser

Code:

div#login-modal.sourcecoast {

margin-left: -280px;
}

This is the CSS that we have on sourcecoast.com and it looks to work for your site as well.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3502 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: How to make modal screen appear in centre of browser

Thanks Melissa. That worked!

Rene

fb_1582987308
Rene
useravatar
Offline
56 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11405
Total Polls:
0
Total Posts:
48071
Posts this week:
15
User Info
 
Total Users:
47243
Newest User:
jerpay
Members Online:
1
Guests Online:
502

Online: 
mr.srawut
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program