Editing the Theme File in WordPress

Posted by admin | Uncategorized | Tuesday 23 December 2008 1:10 am

Here’s how I changed the text size and color for th articles on this blog. (I thought the text was too small and too grey). In the Site Admin panel, I found the “Editor” button under “Appearance”. Exploring the various things to edit in the list on the right, I saw at the bottom “style.php”. Clicking pn that link, and looking at the code, I noticed this line:

body { font: .79em <?php echo $traffic_body_font; ?>; line-height: 1.6em; background: #D0D4D4; color: #<?php echo $traffic_font_color; ?>; }

OK, so “body” of course refers to the HTML body, which is what we want, and the part within the { } includes some CSS code specifying the font size. I recocgized “em” as a text size measurement. So I made it bigger – .99em. That made the text bigger and more readable, but pushed the text in the header down below the banner graphic. I tried it at .89, and that worked better.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment