# Change single line height in sidebar

**URL:** <https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663>\
**Category:** RapidWeaver Classic\
**Created:** [January 13, 2020, 7:37pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663 "2020-01-13T19:37:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![meikyo](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@meikyo](https://forums.realmacsoftware.com/u/meikyo)\
**Post date:** [January 13, 2020, 7:37pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/1 "2020-01-13T19:37:31Z")

</div>

I want to fiddle with some styled text in a sidebar. It looks like using shift-return puts in a soft return which keeps lines together at the default line height and forms a nice text block, However, a full return puts more space between text blocks than I want. Is there any way to adjust this?

I’ve tried using \<p style="line-height:0.4\> but that doesn’t seem to do anything.

I’ve tried using the Format menu to make font size smaller - also no luck.

any suggestions? Thanks!

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [January 13, 2020, 8:29pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/2 "2020-01-13T20:29:02Z")

</div>

What theme are you using? Do you have a link to an live, example page?

I would do this by enclosing each paragraph (text block) in the standard, HTML paragraph tags. I would then add some CSS to adjust the margin settings for paragraphs in the sidebar. It won’t look that pretty in the sidebar editor, but should look fine on the page.

Add your text like this in Page Sidebar:

`<p>This is paragrapgh 1</p><p>This is the second text block</p>`

Add this to your page or site-wide CSS area:

```
#sidebar p {
    margin-top: 10px;
    margin-bottom: 10px;
}

```

Adjust the top and bottom margin as you like. Depending on your theme, we may have to adjust the CSS.

Preview:  
 ![21%20PM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/e/de1dd630711b0ea9a3952fcf5d9e4c39a5412901.png)

---

<div class="post-metadata">

**Author:** ![meikyo](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@meikyo](https://forums.realmacsoftware.com/u/meikyo)\
**Post date:** [January 13, 2020, 11:45pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/3 "2020-01-13T23:45:49Z")

</div>

Thanks for getting back to me Don.

I’m using WeaverThemes’ Solitude.

Just published first rough iteration of website, Chillidog gave me a temporary url of [http://138.68.76.207/~omzsacor/](http://138.68.76.207/~omzsacor/)  
Once that stabilizes url will be [www.omzsac.org](http://www.omzsac.org)

Here’s a picture of the situation. On the current sidebar I put soft returns (shift-returns) at the end of each line, a hard return after the last line of each section. I tried using   
 and

at ends of lines, at ends of paragraphs, etc. - didn’t seem to make a difference.

Thanks for your help!

 ![PastedGraphic-3.png](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/8/989ce3244e469fdbd21698d3db27833d588472e8.png)  
Robert Rosenbaum

[brosenbaum1@mac.com](mailto:brosenbaum1@mac.com)

510-220-4834

2617 51st St  
Sacramento CA 95817-1617  
website: [www.zenqigong.com](http://www.zenqigong.com)

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [January 14, 2020, 12:47am UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/4 "2020-01-14T00:47:11Z")

</div>

Can I get a screenshot of what you have entered into your sidebar field in RW?

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [January 14, 2020, 1:20am UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/5 "2020-01-14T01:20:55Z")

</div>

You should also scale and compress your Lotus.jpg image. It’s 8.4MB, which is way too big for a web page. I’d scale it to a width of 1200-1600px. You should easily be able to get that image to below 165k with no discernible difference.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [January 14, 2020, 1:20pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/6 "2020-01-14T13:20:27Z")

</div>

The problem is styled text. Unless you mark something as a paragraph it’s just _“loose”_ text.

![2020-01-14_06-16-38](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/8/1/817ad933c1d0711dc208645f65d983f498600d48.jpeg)

You can mark the hole side bar to change the line spacing:

```auto
.sidebar {
    line-height: .5;
}

```

You should play around and change the value.

---

<div class="post-metadata">

**Author:** ![meikyo](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@meikyo](https://forums.realmacsoftware.com/u/meikyo)\
**Post date:** [January 14, 2020, 11:23pm UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/7 "2020-01-14T23:23:20Z")

</div>

Thanks, Doug. Very Helpful.  
Bob

Robert Rosenbaum

[brosenbaum1@mac.com](mailto:brosenbaum1@mac.com)

510-220-4834

2617 51st St  
Sacramento CA 95817-1617  
website: [www.zenqigong.com](http://www.zenqigong.com)

---

<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:** [February 14, 2020, 9:23am UTC](https://forums.realmacsoftware.com/t/change-single-line-height-in-sidebar/30663/8 "2020-02-14T09:23:26Z")

</div>

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