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

FORUM

NC for Hire

Hi all,

Here's an easy tip to take advantage again of CSS3 capabilities. With the nth-child(n) pseudo selector, you can customize your forum index or topic list by giving it an alternating background color effect.

Add this code to your Design Studio CSS box:

All Forum Index/Discussion List

.categories tbody tr:nth-child(odd) { background-color:#fff; }
.categories tbody tr:nth-child(even) { background-color:#e9eee8; }

 

Home page module forum list

.module_forum .vcard:nth-child(odd) { background-color:#fff; }
.module_forum .vcard:nth-child(even) { background-color:#e9eee8; }


More Options

Blog module list (contributed by Jane Noel)

.xg_blog .xg_module_body:nth-child(odd) { background-color:#fff; }
.xg_blog .xg_module_body:nth-child(even) { background-color:#e9eee8; }

Home page blog module list

.module_blog .vcard:nth-child(odd) { background-color:#fff; }
.module_blog .vcard:nth-child(even) { background-color:#e9eee8; }

 

Make sure to change the background color values that will match your theme or to any value you like. I have downloaded and applied this style to a local static html copy of this forum for a good sampling and demo/screenshot below. Similar to the 'Top This Week' box and pretty much straightforward on what the code will do.

The code also applies to featured discussions and group discussion list.

Add your own additional styles and enjoy!

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

  • I would very much like to do this inside each forum discussion and lump the main response and all its replies into one color. Anyone know if that's possible?

  • NC for Hire

    And if you'd like for your Profile Questions to be a different color and background than the answers, here is what you can add

    dl > dt { background-color:#fff;color:#000; }

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Ceddy J replied to Brandyn Shepherd's discussion
NING - Mobile App!
"I understand Brandyn, which is why you do an applet instead which gives a conveinent icon to click…"
41 minutes ago
Brandyn Shepherd replied to Brandyn Shepherd's discussion
NING - Mobile App!
"Some people would rather click an app icon than open a browser and open up a website..."
2 hours ago
Ning via Facebook

So, you`ve created your content for efficient outreach. Where are you going to place it? How to…

Thiago Santos de Moraes replied to Brandyn Shepherd's discussion
NING - Mobile App!
"I think that to the extent that communities are responsive this is unnecessary."
4 hours ago
Ning via Facebook

Your Instagram is not just about photos and mentioning people. Let it bring real money for you!…

Fabricio Giugni replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"This would be a hard solution. We need also some thing to make the pictures small when someone uplo…"
8 hours ago
Annabel Gregory replied to Annabel Gregory's discussion
Failure to create links or embed images
"Ok, thanks.
 "
8 hours ago
Kyryl_Ning_Support replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"Hi Tom,
As you are able to set content approval and also you can remove the photos uploaded by the…"
11 hours ago
Kyryl_Ning_Support replied to Annabel Gregory's discussion
Failure to create links or embed images
"Hi Annabel,
Yep, sorry it seems that the new text editor button to embed the photo etc. provoking t…"
11 hours ago
Elizaveta, Laura Beatriz Alves Dornel, Denise Lopes and 5 more joined Ning Creators Social Network
13 hours ago
Ning via Facebook

Especially for you - 25 books about business for frosty but cozy winter evenings. Just…

Tom Whelan replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"Wow, if members are allowed to upload like 100 photos per day (whether they get any 'point's for th…"
yesterday
More…

Meanwhile, you can check our social media channels