888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

May 25, 2009

Over the past few months I’ve looked at a look of themes. This has inspired me to try and produce a ‘premium’ theme of my own and I’ve started on what I consider to be the most important part: typography.

The basics of typography are clear: font-family, font-size, color, margins, baseline rhythm, etc. But there is more to it than that. To that end I have a few questions about your experiences with themes.

Firstly I want to know what areas of typography have you found lacking in the themes you have used? One area I have always wanted to see, and so will build in to mine is the option to style introductory paragraphs separately (paragraphs with the class ‘introduction’ that kick of a post).

Second, do you prefer control (i.e. sheer number of changeable variables) or automation (you enter a few values and the rest is calculated for you)?

Finally, are there any standard blocks of HTML that need styling? I don’t mean simply paragraphs, I mean html with specific classes. For example:

[html]

What I really want to do with this theme is to move the art of theme options one step on from where it is now. This is not an easy task, but I think it is possible with your help.

Html 5 Gallery
Html5 photo gallery?
6 comments
page 1305
Fun With Minimalism
Sidebartabs plugin?
no comment
page 248
Write One Plugin Without Repetition Deviation Or Hesitation
Saveadminoptions wordpress?
2 comments
page 27
Updating Code Snippets Here
Wordpress fun themes?
no comment
page 1338
Using Your Own Url Shortener
Htaccess shorten url?
4 comments
page 1190
Wordpress Chat
Wordpress chat?
3 comments
page 1308
Charcoal Theme Available For Wordpress
Simple charcoal wordpress themes?
2 comments
page 959
New Tabbed Widget Plugin
Tabbedwidget on wp 29?
no comment
page 333
Html 5 Gallery
Html 5 photo gallery?
6 comments
page 1305
Html 5 Gallery
Html 5 photo gallery?
6 comments
page 1305
Fun With Sidebar Tabs Styling
Image under sidebar css wordpress?
2 comments
page 336
Post Image The Easy Peasy Way
Wordpress image link anchor tag?
26 comments
page 1065
Html 5 Gallery
Html 5 photo gallery?
6 comments
page 1305
Wpunlimited The Ultimate Wordpress Theme
Wordpress html customisation?
3 comments
page 1141
Dont Mess With My Toot Toot
Wordpress create new post type?
16 comments
page 599
Wordpress Chat
Wordpress chat themes?
3 comments
page 1308
Using Your Own Url Shortener
Url shortener?
4 comments
page 1190
Quick N Dirty Bookmark Navigation
Dirty bookmarking links?
no comment
page 127
Categories Vs Tags Either Neither Or Both
Both either neither image?
12 comments
page 7
My Experience Of Flexx
Flexx theme review?
4 comments
page 1026
Premium Ithemes Review Photo Gallery
Ithemes reviews?
4 comments
page 226
3 Ways To Speed Up Your Blog Without A Cache Plugin
Comment on speed up your blog?
one comment
page 1321
Wordpress 25 Exif Fields
Wordpress exif plugin?
12 comments
page 230
Adding Settings To Admin Pages
Wordpress addsettingsfield?
3 comments
page 793
Updating Code Snippets Here
Fun wordpress plugins?
no comment
page 1338
How To Add Sidebars To A Theme
How to register two sidebars in wp?
10 comments
page 1053
Html 5 Gallery
Html5 image gallery?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress theimage?
26 comments
page 1065
Using Your Own Url Shortener
Short url?
4 comments
page 1190
Using Wordpress As A Php Framework
Php framework wordpress?
2 comments
page 335
Html 5 Gallery
Html 5 gallery?
6 comments
page 1305
Wordpress Vs Graffiti
Html5 cms?
8 comments
page 95
Post Image The Easy Peasy Way
Wordpress medium size image link?
26 comments
page 1065
  1 query every 1569 seconds, updated 1 seconds ago.
Monday, 9am
 __
(__)
   `

 Ryan

PS: You will probably be reviewing a plugin of mine in the next month and a bit. When you do, don’t go looking at the CSS for the admin panel! … I don’t always practice what I preach :P

Monday, 9am
 __
(__)
   `

 Ryan

Yes is, in fact it is a problem in most of them. Firefox, Opera and IE8 (I think) all have the ability to use text-resizing instead of the default zoom functionality, it’s just not as easy to access as in previous versions.

Google Chrome uses text resizing only and does not have any zoom functionality at all.

Having said that, all of those browsers incorrectly resize text in px’s whereas they should leave them at their set pixel height as recommended in the W3C specs, but they’ve chosen not to.

However using px’s is generally just sloppy coding IMO. EM’s are there for a reason and should be used accordingly, particularly if some future browser decides to resize the text the way they’re supposed to.

Tuesday, 12pm
 __
(__)
   `

 andrew

That’s an interesting point. In fact I have made the conscious decision not to use EMs in my theme. I used to use them for everything but I don’t think font resizing is an issue in any modern browser.

Tuesday, 10am
 __
(__)
   `

 Ryan

The worst thing about most themes is that they don’t use EMs for heights. Font sizes should always be measured in EMs and definitely not PXs.

Monday, 3pm
 __
(__)
   `

 Chip Bennett

I think that trying to determine what classes people might use in the body of their posts would prove to be somewhere between daunting and impossible.

Depending on the structure of your post, you may not even need to define a special class for your introductory paragraph. (The more semantic the markup and CSS, the better.)

For instance, if your post has its title as an H2 (or H3), that is immediately followed by your introductory paragraph P, then your CSS declaration can use the “H2 + P” (or “H3 + P”) selector to style just the first paragraph following your post’s title.

(Note that you’ll probably need to increase the specificity of the declaration, such as:

#page #center #post H3 + P

Or, if your post is split into div.post-title, div.post-body, and div.post-footer, you could use:

#page #center #post-body > P

to style the first P that is a descendant of your div.post-body.

(Of course, I don’t think those selectors are backwards-compatible with IE6 (why can’t it rest in peace already?).)