Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dopey220

macrumors 6502
Original poster
Jul 19, 2006
418
3
Okay. So.

I've got a custom WordPress theme I've built from scratch in Coda. I can't get the h2 tag to change sizes. I know I'm selecting it correctly because I can change anything else about it (font-family, color, et cetera). There are no styles in the HTML; they're all stored in style.css. Even when I use Webkit's built-in developer tools to debug, they all say the computed style is 24px, 02px, 1,000,000,000px, whatever I set it to. The size of the block changes to accommodate the smaller or larger text, But the text never actually DISPLAYS that way on the page. This is just in the content area where posts are displayed; I'm not having any trouble changing the size of the H3 tags in the sidebar.

Here's a link to the test install. The problematic h2 has an ugly fuschia background and is currently set at font-size: 150px;.

http://glueeater.com/wptest

I'm about ready to go on a killing spree. Any suggestions?

(I mean on solving my problems, not the killing spree.)

Thanks, folks.
 
To prevent you from your killing spree, your problem is that the text is inside a link, which is inside the h2.

Code:
#mainAreaContainer #content a {font-size: 14px;}

So you need:

Code:
#mainAreaContainer #content h2.title a {font-size: 36px;}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.