Tagged: css
- This topic has 6 replies, 4 voices, and was last updated 10 years, 3 months ago by
Sakin.
-
AuthorPosts
-
February 7, 2013 at 3:12 pm #3743
bobbafett
MemberI’m using the free Catch Box version 1.7.2.2 and I’m familiar with adding custom styles via the Themes Options page.
Does anyone know a way to reduce the spacing between paragraphs in a blog post? I’ve noticed that when using the WYSIWYG editor that the source copy appears to be formatted like below so are there some margin size, width or height values I can input to override the defaults and reduce the spacing between paragraphs?
<p>Paragraph 1</p>
<p>Paragraph 2</p>
February 9, 2013 at 10:18 pm #3776Sakin
Keymaster@bobbafett: You can change the attribute for p in custom css box.
p { line-height: 1.625; margin-bottom: 2em; }
February 13, 2013 at 6:27 pm #3919bobbafett
MemberGot it, I’ll try that, thanks!
June 22, 2013 at 2:38 am #10831lanne1
MemberHi,
I am using catch box 2.4 and trying to reduce spacing in between paragraphs but don’t find “p” in css to change line height – any ideas to find right code?
Thanks,
Ken
June 22, 2013 at 5:35 pm #10845Sakin
Keymaster@lanne1: You can adjust the line height of paragraph by adding the following css in “Appearance => Theme Options => Custom CSS” box.
p { line-height: 1.625; }
May 29, 2014 at 12:17 pm #32913Erik Eek
Memberhi,
I’m new. And I’m looking for a theme with less spacing,
border, line-height
It appears to me that most theme developers think that a tablet or a touch-screen phone best be filled up with loads of empty space between text lines, images, the header and the body.
I don’t like all these open spaces (what you see is mostly the background color)
And before I start to write a child style sheet to override all spacing, border and line-height. It might be easier to find a style sheet (for wordpress) which has already done thisMay 29, 2014 at 11:06 pm #32964Sakin
KeymasterThanks Erik, yes everyone has own choice and there is variety of theme with different line spacing and choosing the best fit is good.
-
AuthorPosts
- The topic ‘Reduce paragraph spacing’ is closed to new replies.