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

  • NC for Hire

    Very nice tip...thanks a lot. will this apply to Main page forum module too?

    • NC for Hire

      Hey Bernard, you're welcome. Yes, just updated it :-)

      cheers.

  • Excellent tip Ron!

  • This reply was deleted.
    • NC for Hire

      Hi Diane,

      I'm not sure but I think it will also work.

  • Great tip Ron. Thanks for sharing :)

This reply was deleted.

Announcements

 

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

Matt replied to Fabricio Giugni's discussion
About Ning 4.0
"Hopefullly way to export all content in the event of another shutdown Mode Media 2016"
4 minutes ago
michael AMEZQUITA, Dillys, Lindsay White and 16 more joined Ning Creators Social Network
9 hours ago
Ceddy J replied to Ceddy J's discussion
Disk Usage Enforcement
"Usage is one day but a random spike plus 5 days to upgrade is crazy."
16 hours ago
Ceddy J replied to Ceddy J's discussion
Disk Usage Enforcement
"Yep now you see how I felt because it jumped out of nowhere."
16 hours ago
Jelena liked Ceddy J's discussion Disk Usage Enforcement
18 hours ago
This Is bully replied to Ceddy J's discussion
Disk Usage Enforcement
"Well seems like they're going to milk us for every dime they can get."
22 hours ago
This Is bully replied to Ceddy J's discussion
Disk Usage Enforcement
"I have over 10,000 photo's thousands of videos and Iv'e only used 8gb of my storage .. now today it…"
22 hours ago
Fabricio Giugni replied to Ceddy J's discussion
Disk Usage Enforcement
"Hi,It should be good for both sides not only for then."
yesterday
Fabricio Giugni replied to Ceddy J's discussion
Disk Usage Enforcement
"Hi,
   I feel Ning is designed to not help us grow. There is no limit upload size, there is no cont…"
yesterday
This Is bully replied to Ceddy J's discussion
Disk Usage Enforcement
"It’s just business "
yesterday
Susan commented on Steve C's blog post To Ning's CEO
"Steve, I'm interested in the answer NING surely sent to you....
Thanks"
yesterday
Alastair Price, Jessica Meakin, Corey A Jackson and 4 more joined Ning Creators Social Network
yesterday
More…

Meanwhile, you can check our social media channels