Just had this question asked on JenSocial, and created a tip. Although a really easy tip, thought someone on Creators may find it useful, too.

 

This CSS tweak will add a vertical scroll bar to your Leaderboard module on the home page. If you only have 4 listings selected, the bar may not show up with 300 height. You can adjust the height to suit your preference.

Add this CSS to My Network/Settings/Appearance/Advanced CSS, at bottom.

 

/** Scroll Bar for Leaderboard **/
.xg_widget_main .mini-leaderboard-module .xg_module_body {height: 300px;overflow : auto;position:relative;}

Tags: leader board, leader board scroll, leaderboard scroll, scroll bar for leaderboard, scroll leader board, scroll leaderboard, scrollable leaderboard

Views: 113

Reply to This

Replies to This Discussion

Thank you kindly...........again.......

My pleasure!

;-)

Would you give me the css to achieve your module header? Very cool.

Thanks

Or, you can see it in action on JenSocial. I liked it so much, I'm using it.

No wonder it never worked when I tried to modify other scrollbar codes! ".mini-leaderboard-module" was not on my list of guesses. :P Thanks for the tip, I've been dying for this one for ages!

If you ask a legitimate question that I can answer, and have time to answer - - I'm more than happy to share knowledge. But, I won’t do your research for you, if that’s what you mean.

I don't use scrollbar color styling, ever. And I do not know it by memory, like I do a lot of other CSS. If you want to style the scroll bar colors, you will need to research this. My guess is, it may be tough to style an overflow scrollbar. But, I honestly do not know.

Best,
Jen

Would love to hear the result if you figure out the styling.

Best,

Jen

Thank you Jen!

Hi

I put that code at the end and nothing happen :s

Maybe I am doing wrong ?

 

This the codes that was there before and including the new one :

#xg_masthead p#xg_sitename{
    font-size:34px;
    line-height:1.14em;
    font-weight:bold;
    padding:20px 0 0 15px;
}

#xg_masthead p#xg_sitedesc {
    font-size:16px;
    padding:0 0 0 15px;
    height:1.5em;
}

#xg_navigation ul li {
    font-weight:normal;
}   

#xg_navigation ul li span {
    padding:0;
    display: inline;
}

.xg_module_head h2 {
    font-weight:normal;
    font-size:14px;
}

.xg_module_foot {
    border-bottom: 2px solid #C4D2DB;
    border-top: 1px solid #C4D2DB;
}

#xg_navigation ul li a {
    color:#2C6088;
    font-size:1.1em;
    padding:0 0.7em;
}

/** Scroll Bar for Leaderboard **/
.xg_widget_main .mini-leaderboard-module .xg_module_body {height: 300px;overflow : auto;position:relative;}

 

One of two things is likely the issue:

1. You have a CSS error above this code.

2. And my guess - - you need to make the height less, so a scrollbar shows up.

 

Best,

Jen

.xg_widget_main .mini-leaderboard-module .xg_module_body {height: 300px;overflow : auto;position:relative;}.xg_widget_main .mini-leaderboard-module .xg_module_body {height: 300px;overflow : auto;position:relative;}

Hi Jen,

my leader board is showing like this....

where and how can I change the code to make disappear the little red icons or to reduce them?

Thks

RSS

Latest Activity


NC for Hire
Jen replied to Alex's discussion 'More styling in the Design Studio'
"For anyone else - after updates if your mobile menu isn't working, sign out and back in."
11 minutes ago
Cindy replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"This is where the link takes me http://httptheforestofhealingningcom.ning.com Looks cheep, like…"
20 minutes ago
Sylvia Hysen replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"I do all my own graphic design work, and would want to do so for this widget too. I've been…"
24 minutes ago

NC for Hire
Jen replied to Alex's discussion 'More styling in the Design Studio'
"Nice update. Problem: Seems to me that the mobile menu icon isn't working properly on android…"
29 minutes ago

NC for Hire
SweetPotato replied to Alex's discussion 'More styling in the Design Studio'
"Good job."
43 minutes ago
Alex replied to Alex's discussion 'More styling in the Design Studio'
"Themes that currently have rounded corners do so by way of CSS. We'll need to update them to…"
43 minutes ago

NC for Hire
SweetPotato replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"This can be done using the formstack sign up form and some custom design. I haven't…"
49 minutes ago
A discussion started by Sylvia Hysen was featured

NING 2.0- Sign-up for newsletter

TJ, Jen, FireTech, Patrick, Diane, SP & SE...I want to add a sign-up for newsletter to my front…See More
56 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service