# Limit Hight of Sidebar, Add scrolling

**URL:** <https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635>\
**Category:** RapidWeaver Classic\
**Created:** [November 8, 2019, 3:02pm UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635 "2019-11-08T15:02:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![puzzbill](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@puzzbill](https://forums.realmacsoftware.com/u/puzzbill)\
**Post date:** [November 8, 2019, 3:02pm UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635/1 "2019-11-08T15:02:40Z")

</div>

I am using PlusKit @import to display a long list of linked labels. It is displaying the links but it is one long list . I would like the sidebar hight to be limited to the size of one page and have a scroll bar to allow viewing the long list.  
This is the code I put into the sidebar page of the of the Inspector.

@import((Alpha File C))

{max-height:100%; min-height:500px} nav ul{height:200px; width:18%;} nav ul{overflow:hidden; overflow-y:scroll;}

I am running  
Catalina v 10.15  
RW v 8.4.1 (20817)  
Stacks v 4.03  
Wilderness Theme

I would appreciate suggestions and thank you for your time.

---

<div class="post-metadata">

**Author:** ![puzzbill](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@puzzbill](https://forums.realmacsoftware.com/u/puzzbill)\
**Post date:** [November 8, 2019, 3:05pm UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635/2 "2019-11-08T15:05:39Z")

</div>

Sorry, too long and was cropped, here’s some code I tried

@import((Alpha File C))

{max-height:100%; min-height:500px} nav ul{height:200px; width:18%;} nav ul{overflow:hidden; overflow-y:scroll;}

---

<div class="post-metadata">

**Author:** ![robbeattie](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/robbeattie/32/78_2.png) [@robbeattie](https://forums.realmacsoftware.com/u/robbeattie)\
**Post date:** [November 8, 2019, 5:47pm UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635/3 "2019-11-08T17:47:41Z")

</div>

Paging @willwood…

---

<div class="post-metadata">

**Author:** ![willwood](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@willwood](https://forums.realmacsoftware.com/u/willwood)\
**Post date:** [November 8, 2019, 8:42pm UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635/4 "2019-11-08T20:42:27Z")

</div>

Not enough information and no link, so I’m going to stay out of this discussion, for now.

The CSS code looks incomplete in both posts, i.e. the first code block has no selector names and the min / max heights are conflicting values. Bit of a code spaghetti going on there.

It’s very easy to give a page element fixed height and force the display of a scroll bar on overflowing content. But in the current context, regretfully I have almost nothing to work with here.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [December 9, 2019, 6:45am UTC](https://forums.realmacsoftware.com/t/limit-hight-of-sidebar-add-scrolling/29635/5 "2019-12-09T06:45:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
