开发者

Overwrite Capitalize with default behavior?

I'm working on a Wordpress site using the Thesis theme. Say I have a menu item, "Foo is Bar" By default, the navigation in Thesis is styled with:

text-transform: uppercase;//FOO IS BAR

which is overwritten in my custom style-sheet to:

text-transform: capitalize;//Foo Is Bar

Which is close, but what I want, is the menu item to be rendered as "Foo is B开发者_JAVA技巧ar" as written with mixed upper and lower case starting letters. The uppercase style is part of the Theme and I'd rather not modify the code if I don't have to. Is there a way to wipe out the uppercase style perhaps using the :first-letter pseudo class?

Any help greatly appreciated.


You could set it back to the default:

text-transform: none;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜