How to Increase Text Size on Your WordPress Blog


Many people on the internet don’t really read… they skim. And maybe that is because our text size is too small and uncomfortable to read.

So, here’s a quick tutorial on how to increase text size. In wordpress, changing the font size is really easy. Just go to /wp-admin/theme-editor.php. Make sure you are on style.css.

Look for #content or #entry. Then, paste this code under there.

#content p {
font-size: 14px !important;
line-height:  24px !important;
margin: 1em 0 1.6em !important;}

If your theme addresses your content as #entry, be sure to change #content to #entry.

The #content p requests that all the paragraphs (p) in the blog post shall go with that styling. The 14px is the font size. 25px, line spacing.

!important is for telling that the rule should be applied always, even if another rule for the same element is present.

For example,

#content p {color: black}
#content p {color: green}

This CSS code makes your paragraphs green, because it appears later than ‘black’ – your browser applies the rule that appears at the bottom.

So if you want to make sure that your paragraphs are black, add a !important.

#content p {color: black !important}
#content p {color: green}

The margins determine the space between paragraphs.

1em = top margin | 0 = left & right margin | 1.6em = bottom margin.

Feel free to customize the codes to your liking!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s