Tagged: hyphenation, white space
- This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by
Jonathan.
-
AuthorPosts
-
April 26, 2014 at 7:50 pm #27622
Jonathan
MemberI would like to minmize the amount of white space above the beginning of a page. For an example at http://www.point-of-view.ca/marker-point-2/ I want the first line of text on the page to be at the same level as “Of Special Interest” on the side bar. I’ve looked around but can’t find out how to do this.
Also how do I get rid of hyphenation on the entire site? I don’t want the text to be hyphenated at the end of the lines of text.
thank you!
April 27, 2014 at 12:56 am #27661Sakin
Keymaster@Jonathan: You can add the following css in “Appearance => Theme Options => Custom CSS” box to decrease the padding top
.hentry, .no-results, #author-info, #disqus_thread, #content .error404 { padding-top: 15px; }
You can add the following css in “Appearance => Theme Options => Custom CSS” box to remove the hyphenation
#content article { word-wrap: normal; -webkit-hyphens: none; -moz-hyphens: none; hyphens: none; }
April 27, 2014 at 4:19 pm #27755Jonathan
MemberThanks for both sets of code. For the first one though it didn’t work. I input that code to the custom css but I still cant change the amount of white space at the top of my pages…
April 28, 2014 at 12:32 am #27818Sakin
Keymaster@Jonathan: Sorry, replace the previous css with the following.
.hentry, .no-results, #author-info, #disqus_thread, #content .error404 { padding-top: 0; }
April 28, 2014 at 1:16 am #27825Jonathan
Memberthat works to make the text go all the way to the top. But I tried adjusting it a little putting the padding to 2 or 3 but then it stays the same it looked before. Is there something else I can add to be able to adjust this number?
April 28, 2014 at 3:43 am #27848Sakin
Keymaster@Jonathan: For 2 it will be as below:
.hentry, .no-results, #author-info, #disqus_thread, #content .error404 { padding-top: 2px; }
April 28, 2014 at 4:19 am #27855Jonathan
MemberGreat thank you!
-
AuthorPosts
- The topic ‘White space above post’ is closed to new replies.