Anyway to add scrollbars to blogroll widget in Sandbox?

  • Author
    Posts
  • #318751

    vivianpaige
    Member

    My blogroll is WAY too long. So I used the page template in Sandbox to put them on a separate page. However, that creates a problem in that Sitemeter won’t work on a separate page nor will it work in a text widget.

    So I was wondering – is there any way to incorporate into my CSS the information here that would allow me to have scroll bars on the links widget?

    Thanks in advance.

    #319059

    vivianpaige
    Member
    #319064

    devblog
    Member
    #319066

    devblog
    Member

    j/k

    do you want a scroll bar in all of the widgets or just one?

    #319067

    devblog
    Member

    your side bar looks good… I guess I’m too tired or I need more prescription in my glasses… I don’t see your blogroll

    #319069

    devblog
    Member

    never mind, found it.

    gimme a few minutes

    #319072

    devblog
    Member

    try this:

    #text-325645881 ul{
    height: 60px;
    overflow: auto;
    padding: 2px;
    }

    I set the hight to 60px just to test it, change it to whatever you need. Also, the selector I’m using is the ID of the current text widget, you’d need to change it to the ID of the blogroll widget.

    #319171

    vivianpaige
    Member

    I just *knew* there was something I was missing. Thanks so much. This works EXACTLY as I wanted it to!

    #319172

    vivianpaige
    Member

    For anyone wanting to do this – I had to do each blogroll category separately.

    #319173

    rosclarke
    Member

    *loves* I am so doing this for my categories widget. Thanks, devblog!

    #319174

    devblog
    Member

    Sure thing.

    #319175

    vivianpaige
    Member

    Well, now that this is working so well, I figure I might as well ask a followup question :) Is there any way to style the scroll bar? As it stands, it uses whatever your browser uses. (And when I visit rosclarke’s blog, mine clashes with her color scheme.)

    So, dear CSS master devblog, any ideas on that?

    #319177

    devblog
    Member

    yes and no.

    I mean, you can style the scrollbar, but since it’s not a W3C Standard, Safari, Firefox, Opera, Konqueror, etc. will just ignore the code… guess what browser will not ignore it? that’s right… IE. Why? because IE came up with it.

    If you’re still interested, here’s the code:

    #your-selector{
         scrollbar-face-color: [color];
         scrollbar-highlight-color: [color];
         scrollbar-shadow-color: [color];
         scrollbar-3dlight-color: [color];
         scrollbar-arrow-color: [color];
         scrollbar-track-color: [color];
         scrollbar-darkshadow-color: [color];
    }
    #319178

    rosclarke
    Member

    Oh, that’s a shame. The one that I get by default looks lovely with my colour scheme. I guess it’s set by my FF appearance plugin?

    #319179

    devblog
    Member

    I didn’t know Fx had an appearance plugin… Or are you talking about your current theme?

    Anyway, Fx themes and plugins use XUL, that’s why they can change the appearance of the browser and create applications for it.

    #319180

    rosclarke
    Member

    That’s probably what I mean. The thing that changes my icons and tab colours and so on.

    #319193

    vivianpaige
    Member

    Well, if the only browser it works in is IE, I’ll skip it. Thanks so much.

    My scroll bar goes with the FF theme I’m using and looks really nice on my blog (of course).

    #319197

    I know I should know this, but where do you find the ID of the text widget? Thanks so much.

    #319198

    vivianpaige
    Member

    I use the developer’s toolbar for Firefox. When I click on Information>Display ID & Class details, I grab it from there. Not sure how everyone else is doing it.

    #319201

    devblog
    Member

    I use aardvark.

The topic ‘Anyway to add scrollbars to blogroll widget in Sandbox?’ is closed to new replies.