Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

WHAT DO THESE CODES DO??

I'm going through my advanced appearance code and I'm unsure what these codes do/control. Any help is appreciated!

First one: (it obviously puts a border around some module, but which one??)

div.xg_module {
border: 1px solid #d0d0d0;
}

Second one:

div.account #xg_head {padding:0 !important;}

Third one:

select.quickpost {display:none!important;}

Fourth one: (obviously making font somewhere BLACK, but where? )

/* Optional Font Color, Font Size, and Font Weight */color:#000000;
font-size:11px;
font-weight:bold;
}

Thanks in advance for any insight you can give me!

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

  • First one: puts a Gray border around all your modules like your latest activity, blogs, forum and such. It will not work for all modules unless you add the word important to the end of it like this

    div.xg_module {
    border: 1px solid #d0d0d0!important;
    }

    Second one: The way it's written it does nothing

    Third one: hides the quickpost button  where and what that button is I don't know

    Fourth one: Does nothing.. Half of the code is missing

  • Okay, since I'm moving to DS, I won't need the First One.  Check!

    On the fourth one, this is the code right above it. There's nothing below it.  Does it do anything now? LOL 

    #xg.account .xg_module_body {
    background:url(http://api.ning.com/files/3Dzc1qZMiTMHZj6dSisxo87mnJ47VUaCOSEmKmUpo...*KekzjYRWGblaP9tZ28GmlvNAtCx18iN-IL1S6Z-fC0t/logon5.jpg) top center;
    background-repeat:no-repeat;
    /* Optional Font Color, Font Size, and Font Weight */color:#000000;
    font-size:11px;
    font-weight:bold;
    }

    Thanks so much George. Those other ones apparently aren't vital to my appearance, because I don't seem to miss them on my test network. 

    • they don't appear to go together.

      To comment on the second code Monica is semi-correct if you add a comma after div.account it will affect both The account module and the head of your network you will also need to add (px) after the zero to complete the code. but like I said the way it's written it does nothing. If you want zero padding on your head and your Sign-up & Sign in replace that code with this one

      div.account, #xg_head {padding:0px !important;}

  • Hey Dianne, 

    The first one, div.xg_module, applies customizations to the modules on your network. For example, the CSS string you give for this will add a 1-pixel gray border around each module on the network. 

    The second one, #xg_head, affects the header section of your network, where you add your network logo and header background image. The CSS string above with "padding: 0 !important" ensures that there be zero padding around your header section. The div.account part of that affects the network's sign up and sign in pages. Padding adds cushion around the content so this essentially will push stuff down a bit on the screen. There should be a comma between the two properties, otherwise it doesn't seem to do anything. 

    The third one, select.quickpost, affects the Latest Activity feed on your network if you're using the Classic Appearance Editor.  

    The fourth one doesn't have any location specified for it, so I think that is just intended to apply everywhere, but as a back-up only, in case the other specification doesn't apply. I took a peek at your network and see that you have this specified for the #xg.account .xg_module_body area of your network, in case an image added doesn't show up.

    I don't see that class anywhere on the network, so it might be a defunct class. I do see, though, that the #xg_module_account.xg_module class affects the personal member account module that appears on every page of your network, which maybe is what you were going for. 

    Hope this helps! You might also want to see the breakdown of classes of a Ning Network at http://go.ning.com/studio/docs/overview/html_structure.html#.

    -Monica

    • Thanks guys!  My conclusion is that these pieces of code can be safely dumped when I make the transition to Design Studio. LOL  Most don't seem to be doing anything drastically important that I will miss.

      With code number one (the module border), I have that ability built into DS, so that one's definitely gone.

      I appreciate the thorough explanations, though.  It gave me a little more understanding, although I'm still a universe away from truly "getting" it.

      :D

This reply was deleted.

Search the Creators Network

Latest Activity

Alida I.Gómez replied to Yana Ning Support's discussion Great news for Ning 2.0
"Quisiera saber si se puede aadir los ofrecimientos gratis a mi red actual en lo que desidimos si ha…"
42 minutes ago
Thisisbully replied to Thisisbully's discussion I'm losing members because of 1 silly feature
"It should be like 2.0 in the activity feed and profile page groups imo iv been dealing with this fo…"
2 hours ago
Thisisbully replied to Thisisbully's discussion I'm losing members because of 1 silly feature
"His way doesn't even work right it just takes u to the photo page and u still have to click add aga…"
2 hours ago
Fabricio Giugni replied to Fabricio Giugni's discussion Powered by Ning How to get it out?
"You are just right."
3 hours ago
Fabricio Giugni replied to Thisisbully's discussion I'm losing members because of 1 silly feature
"I understand that you found a way to do it. And thanks for that.
We should not be punished because…"
3 hours ago
Fabricio Giugni replied to Thisisbully's discussion I'm losing members because of 1 silly feature
"    The Add Button should be on MyPage. And that's it.
The are no logical the way it is. The first…"
3 hours ago
Thisisbully replied to Thisisbully's discussion I'm losing members because of 1 silly feature
"Anything on this still have members that have no clue on how to post photos"
15 hours ago
Steve C replied to Kyryl_Ning_Support's discussion The long-awaited Search Option is now at your fingertips!
"Is there advanced search in 2.0 besides member search? I've never seen it and could really use it."
23 hours ago
Manuel Adame Jimenez replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi, Kyryl, light works the way of your day, thank you, light.
☆♡☆"
yesterday
Kos replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Kyryl I have to say how wonderful it is to have liaison who understands CSS/HTML.  Just love it!"
yesterday
Kyryl_Ning_Support replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi there,
Just put this into your custom CSS code field to center the video.
.videoDetailPage-video…"
yesterday
Alex replied to Fabricio Giugni's discussion Powered by Ning How to get it out?
"Yes, Glam Media forced it upon us against Ning's original policy. Originally Ning communities had t…"
yesterday
Kos replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"They told me there's nothing wrong. *lol* Wrong!"
yesterday
doone replied to Kyryl_Ning_Support's discussion The long-awaited Search Option is now at your fingertips!
"Thanks, it works great for me."
yesterday
Fabricio Giugni replied to Fabricio Giugni's discussion Powered by Ning How to get it out?
"    Be a White label is the best for creators. Force us to have they ads on our website is like ter…"
yesterday
Manuel Adame Jimenez replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hello Kyryl, I put a screen shot, to ask you to leave the video to the center or that is option to…"
yesterday
Alex replied to Kyryl_Ning_Support's discussion Paid Access demo version
"I find it completely astonishing that any other type of paid access could even be contemplated, whe…"
yesterday
Mike Collins replied to Fabricio Giugni's discussion Powered by Ning How to get it out?
"Hi Kyryl,
This was something that Glam Media brought in and it was a real sticking point for many c…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion The long-awaited Search Option is now at your fingertips!
"Hi there!
Thanks to both of you for your suggestions to add the advanced search option.
As I see su…"
yesterday
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion The long-awaited Search Option is now at your fingertips!
"Hi Kos,
We are really sorry that it was necessary to wait for such a long time to see this feature…"
yesterday
More…