Limiting the number of tags in sidebar

Oct 09, 2014 18:36

Can anyone tell me if it's possible in Smooth Sailing to limit the number of tags that appear in the sidebar? The CSS coding that I use is below....

Layout: Nature is Green ( Read more... )

sidebar, tags

Leave a comment

Comments 2

fiddlingfrog October 12 2014, 03:31:40 UTC
Nope. Limiting the number of tags in the box would have to be done in a theme layer.

There's a couple of things you can do with CSS to hide the extra tags.

.sidebox #tags_sidebox {
text-align: center;
height: 100px;
overflow-y: hidden;
}

will limit the tags box to 100 pixels high, with all the tags that fall below the bottom of the box just disappearing. Alternately,

.sidebox #tags_sidebox {
text-align: center;
height: 100px;
overflow-y: scrollbar;
}

would give you a scrollbar in the tag box so you could still find all your tags without the box taking up so much room.

Reply

matilda_honey October 25 2014, 23:54:32 UTC
Thanks for the codes, but I actually discovered a cheater's method! Since my layout comes with free text boxes for the sidebar, I turned one of them into a tags list, with a limit of 50. (This is the OP posting from my other account.)

Reply


Leave a comment

Up