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 Network to add comments!

Join Ning Creators 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

⚡JFarrow⌁ replied to Mia's discussion Access word docs from archive?
"This is what the page linked to by Eric used to say:
ARCHIVE YOUR MEDIA FILES



After you have ins…"
4 hours ago
⚡JFarrow⌁ replied to Jeffrey Haskins's discussion It really does look like NING is dead, or nearly there
"Suicide"
4 hours ago
Margaret Ditty replied to Crystal's discussion Welcome to Creators 3.0!
"Is there such a thing as an iPhone app with Ning similar to what Facebook has?"
8 hours ago
George H. Compton IV replied to George H. Compton IV's discussion MY Firefox Restore 2017 v11 free Download
"I purchased a new compiler today so I had to update this app.  My Firefox Restore Version 11.1"
yesterday
Alex Pidgley is now a member of Ning Creators Network
yesterday
Jon Roberts replied to Jeffrey Haskins's discussion It really does look like NING is dead, or nearly there
"I'm right there with you. We have subscribed since 2012. A refund would be justice served, however…"
yesterday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Here is the rest of the conversation (see below)Ning responses are fast but are not effective. Appa…"
Thursday
Kos replied to Ambroise's discussion [Graph API error] Facebook alert
"Well I'm glad you posted it here at Creators, in case others experience the same problem.  When it…"
Thursday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Thank you for your answer Kos I received a fairly detailed response from Ning assistance service, w…"
Thursday
Ambroise replied to Ambroise's discussion [Graph API error] Facebook alert
"Here following the conversation I had with Ning Helpdesk :
23 juin 2016 at 2:13
Réponse (Ioana)
Hey…"
Thursday
JASON M HARRIS replied to Speed Racer's discussion Develop an iPhone or Android App?
"I'm new to NING... They are a weird company... Lots of common sense things, to do better business,…"
Wednesday
Kos replied to Ambroise's discussion [Graph API error] Facebook alert
"I haven't received any notifications but maybe it's to come (?).  Please let us know how Ning respo…"
Wednesday
Shelli Poole replied to Shelli Poole's discussion Is there a back door to managing blogs/discussions in bulk?
"Found a way to do 10 at a time on the blogs..."
Tuesday
TJ @ jQueryHelp replied to Rich's discussion Need a quick answer, can I do this??
"Hi Rich,
There are many things you can do to interface Ning with 3rd party APIs.  I have done proje…"
Tuesday
TJ @ jQueryHelp replied to Vivian Bai's discussion Is there an option to like or upvote replies?
"One client I installed this for, needed a way to track how many likes were coming in, and there wer…"
Tuesday
TJ @ jQueryHelp replied to Vivian Bai's discussion Keep Members Anonymous
"Hi Vivian,
I had created soemthing like this for a client several years ago, for a Ning 2 site.  Me…"
Tuesday
Vivian Bai replied to Vivian Bai's discussion Is there an option to like or upvote replies?
"Hi TJ, this is awesome! I'm about to have the site designed. Will contact you shortly. Do you have…"
Tuesday
TJ @ jQueryHelp replied to Shelli Poole's discussion Is there a back door to managing blogs/discussions in bulk?
"Hi Shelli,
It's kind of a pain to do this manually!  How many are you looking to delete, and are yo…"
Tuesday
TJ @ jQueryHelp replied to Vivian Bai's discussion Is there an option to like or upvote replies?
"Hi Vivian,
Ning doesn't offer this, but I do.  My Likes App allows your members to Like original co…"
Tuesday
Shelli Poole replied to Shelli Poole's discussion Ning Network Archiver Isn't Working, Customer Service No Help
"My new discussion asks whether there's a back door to manage blogs and discussions in bulk (delete…"
Monday
More…