customize your Sign in background,  create a sign-in button and change your Fonts and font colors.

if you want to customize the sign-up page as well the codes for that is in the Sixth comment down in this discussion. And for the sign up page some networks will need this fix.

.xg_theme #xg_themebody #xg.account {
    padding-top: 30px!important;
    padding-bottom: 580px!important;}

The background codes will auto adjust the size for different screen resolutions.

there are differences in Ning networks so if the code does not work on your network just let me know and I'll write the code for your network.  :-)

Place these codes in your design studio advanced CSS

backgrounds

Change the image url to the one you want to use

.xg_theme #xg_themebody DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signIn {
padding-top: 4.5%!important;
padding-bottom: 42% ;}
DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signIn{
background-image: url(http://api.ning.com:80/files/YQhkdgMgba6MbiAIQb*aHCIyH8niRlDHcqT9RoThi3QXlXlC-cNbP*PZJ8GUUIxf9JykGCKTEkVdxxEhGoOuthm*PYOry6C3/Tran.jpg)!important;
background-attachment:
fixed; background-size:100% 100%; }

_

_

If you want the module to have the same background add this code with the same url as the code above.

DIV.xg_module.xg_lightborder.signin-module FORM.xg_module_body.xg_lightborder {
background-image: url(http://api.ning.com:80/files/YQhkdgMgba6MbiAIQb*aHCIyH8niRlDHcqT9RoThi3QXlXlC-cNbP*PZJ8GUUIxf9JykGCKTEkVdxxEhGoOuthm*PYOry6C3/Tran.jpg)!important;
 background-attachment: fixed;
 background-size:100% 100%; }

_

_

You can also add a different image for the module just replace the image link in this code

DIV.xg_module.xg_lightborder.signin-module FORM.xg_module_body.xg_lightborder {
background-image: url(http://i597.photobucket.com/albums/tt55/geocom69/mariacolorf.jpg)!important;
 background-size:100% 100%; }

You can move the module left or right  with this piece of code Just add the code to the very bottom of the background code.  It looks like this ( padding-right:40%!important; ) Just change the word right to left if you want it on the Left side.  The percentage will change how far over it moves I recommend not going above 40% Because people with small laptops may have it run off their page.  40% is a perfect for screen resolutions ranging from 800x600 through 1600 by 1024.  To move it up and down just use the top line of this code  ( padding-top: 4.5%!important; ) I recommend not changing it to less than 1% on some networks a white bar or different color bar will show up at the top of your screen.  and of course you can change the percentage of the bottom line to pixels  if you prefer using pixels ( padding-right:1px!important; )

after applying the changes I recommend checking it out in  different screen resolutions on your computer.

if you have any problems just let me know.

Sign-in button

this code will create a background image for the sign in button Just replace the image link with the one you prefer.

Sign-in
DIV.xg_module.xg_lightborder.signin-module FORM.xg_module_body.xg_lightborder  INPUT.button{
 background-image: url( http://i597.photobucket.com/albums/tt55/geocom69/ALevyne888-1.gif )!important;
  background-size:100% 100%; }



or would you prefer to have your sign in button with rounded corners.  You can change the dimension of the button just changing these numbers on all three lines  21px 21px 21px 21px; all three lines should look exactly the same

Sign-in

DIV.xg_module.xg_lightborder.signin-module FORM.xg_module_body.xg_lightborder INPUT.button {
   border: 1px solid #aaa!important;
   border-radius:21px 21px 21px 21px;
   -moz-border-radius:21px 21px 21px 21px;
   -webkit-border-radius:21px 21px 21px 21px;}




and if you'd like the rounded borders with a shadow effect use this code.  Like I said you if want to change the dimension of the button change the numbers in all three lines that look like this 21px 60px 8px 45px;  all three lines should look exactly the same
 

Sign-in

DIV.xg_module.xg_lightborder.signin-module FORM.xg_module_body.xg_lightborder INPUT.button {
   border: 1px solid #aaa!important;
   border-radius:21px 60px 8px 45px;
   -moz-border-radius:21px 60px 8px 45px;
   -webkit-border-radius:21px 60px 8px 45px;
   -webkit-box-shadow:0px 0px 10px #ccc;
   -moz-box-shadow:6px 6px 10px #ccc;
   box-shadow:6px 6px 10px #ccc;
   -ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
   filter:progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#000000');
   clear: both;
   position: relative;
   word-wrap: break-word;
   padding:8px;}

Fonts and font colors

change the font & font color name to whatever you want in each code

    this is the name of the font you will be replacing  ( Helvetica Neue ) and the color ( black )

    This one's for - Forgot your password?
DIV.xg_module.xg_lightborder.signin-module a {
        font-family: Helvetica Neue ; color:black;}


    And this one's for - users name and password
DIV.xg_module.xg_lightborder.signin-module LABEL {
        font-family: Helvetica Neue ;color:black;}


    And this one's for  - sine in button
DIV.xg_module.xg_lightborder.signin-module INPUT.button  {
        font-family: Helvetica Neue ;color:black;}


   And this one's for  - about your network
DIV.xg_module.xg_lightborder.signin-module DIV.signin-about H3 {
        font-family: Helvetica Neue ;color:black;}


    And this one's for  - click here to join
DIV.xg_module.xg_lightborder.signin-module P.dy-right  {
        font-family: Helvetica Neue ;color:black;}

Tags: Customize, css, page, sign-in

Views: 2678

Reply to This

Replies to This Discussion

Great codes, thanks a bunch George! Is there any way I could change the background of my sign up page to match that of my sign in page? Any help would be greatly appreciated. Thanks again! 

Hello Jonathan :)

    Here's the background codes for the sign up page.

    This code is for the Sign up page background

    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp  {
     padding-top: 4.5%!important;
     padding-bottom: 42% ;}
    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp {
     background-image: url(http://api.ning.com:80/files/YQhkdgMgba6MbiAIQb*aHCIyH8niRlDHcqT9RoThi3QXlXlC-cNbP*PZJ8GUUIxf9JykGCKTEkVdxxEhGoOuthm*PYOry6C3/Tran.jpg)!important;
     background-attachment:
     fixed; background-size:100% 100%; }
     
    this code is for the Sign-up module background

    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp DIV.xg_module.xg_lightborder.signin-module {
     background-image: url(http://api.ning.com:80/files/YQhkdgMgba6MbiAIQb*aHCIyH8niRlDHcqT9RoThi3QXlXlC-cNbP*PZJ8GUUIxf9JykGCKTEkVdxxEhGoOuthm*PYOry6C3/Tran.jpg)!important;
      background-attachment: fixed;
      background-size:100% 100% }
    
    Background image for the sign-up button


    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp INPUT.button.dy-action-primary { background-image: url(http://api.ning.com:80/files/YQhkdgMgba6MbiAIQb*aHCIyH8niRlDHcqT9RoThi3QXlXlC-cNbP*PZJ8GUUIxf9JykGCKTEkVdxxEhGoOuthm*PYOry6C3/Tran.jpg); background-attachment: fixed; background-size:100% 100%;}


    Sign-up button with rounded borders
 

    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp INPUT.button.dy-action-primary {border: 1px solid #aaa!important;
       border-radius:21px 21px 21px 21px;
       -moz-border-radius:21px 21px 21px 21px;
       -webkit-border-radius:21px 21px 21px 21px;}
    

    sign-up button Rounded borders with hover effect
    
    DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp INPUT.button.dy-action-primary  {   border: 1px solid #aaa!important;
       border-radius:21px 60px 8px 45px;
       -moz-border-radius:21px 60px 8px 45px;
       -webkit-border-radius:21px 60px 8px 45px;
       #ccc;-moz-box-shadow:6px 6px 10px
       #ccc;box-shadow:6px 6px 10px
       #ccc;-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
       filter:progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#000000');
       clear: both;
       position: relative;
       word-wrap: break-word;
       padding:8px;}

    if you want the Font codes for the sign up page just let me know I'll work that out to :-)

Works great, thanks so much! As of right now, the sign in/sign up box are transparent so you can see the background, is there a way I could get it it's a white box instead of a transparent one? Thanks again!

you're welcome Jonathan.

this code will change the color of the sign-up and the sign in module.  make sure you add this code to the bottom of your design studio advanced CSS..

you have a great day :-)

DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signUp DIV.xg_module.xg_lightborder.signin-module, DIV#xg.account.external-auth.xg_widget_main.xg_widget_main_authorization.xg_widget_main_authorization_signIn DIV.xg_module.xg_lightborder.signin-module {
     background-color:white !important;}

Hello Mystical

you can try putting this code at the bottom of your NC custom code box

<style>
DIV#xg_network_activity.xg_module.xg_module_activity{
   display: block!important; }
</style>

the best thing to do would be to remove that script.

Hope you have a happy new year :-)

that is just strange.  I've never seen it do that before LOL it could have just been your network catch if you would've logged out and logged back in a couple times it may have reset your catch. But the best way is still to remove that script.  You have a nice weekend as well... George

I've noticed for some scripts adding or removing them can take anywhere between 20 seconds to 10 minute for your networks catch to change. So hopefully it will work itself out :-)

Blessings :D

Nice work George :) 

thank you Dave :-)

Best script on here?

Check mine out, love know hat you think.

http://swapmessenger.com/main/authorization/signIn?target=http%3A%2...

think you and I think you've done a great job with your sign in :-)

George,

I am using your code to add background images to the sign-in and sign-up pages of one of my networks... Everything looks great except on the sign-up page the bottom half of the background image does not display.

Any ideas?

www.KCafterdark.com

Thanks,

Matt

RSS

Latest Activity

Suzie Nielsen replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"Love the video idea! What a great Welcome! Nice job!"
47 seconds ago
Suzie Nielsen replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"Exactly my "problem"LOL! I am a great consultant who does not listen to her own advice!…"
1 minute ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Thanks! I've always had a heart for youth ministry and have seen way too many people I grew up…"
2 minutes ago

NC for Hire
Bernard Lama replied to Ginny Collins's discussion 'HOW TO INSTALL/ADD FACEBOOK COMMENT...'
"Try this…"
2 minutes ago
Suzie Nielsen replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Dustin, I would just like to jump in here and tell you that I love the idea your site is promoting!…"
5 minutes ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Thanks for the nice words!  My 3.0 may be a bit more fleshed out than others because I'm…"
5 minutes ago

NC for Hire
Bernard Lama replied to Alexander's discussion 'Text Ticker in Ning Bar'
"Try this <script type="text/javascript">if (typeof(x$) != 'undefined')…"
12 minutes ago
CocteauBoy replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"@John, I looked at this yesterday (I thought) and I guess I didn't do a side-by-side, but…"
38 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service