[theme-reviewers] Best practice CSS options
philip at philipwalton.com
Sun May 8 05:44:51 UTC 2011
Ryan and Emil, I think you two are talking about different things (unless
The original question was not about inline verse linked styles, it was about
creating a theme option that a theme user could write custom CSS styles into
that would override existing styles and alter the look of their public
facing pages. The OP was asking for a recommendation about how best to
In such a case, I think it's safe to say that the amount of CSS someone
would write into a textarea would be very little. If someone knew enough
about CSS to write tons of it, you'd think they'd know enough to actually
edit the CSS file.
So, assuming it's very few styles, there's probably no difference one way or
another in terms of page load (inline vs linked). One the one have you have
browser caching, but on the other hand you have fewer HTTP requests.
Furthermore, the type of user who would actually write custom CSS into a
theme option instead of hard coding it into the styles.css (or creating a
child theme) probably isn't loosing sleep over how fast his/her theme is
On Sat, May 7, 2011 at 10:03 PM, Emil Uzelac <emil at themeid.com> wrote:
> CSS from the Theme itself should not be used/passed into Theme Options if
> there is no need for that, if someone wants to work on performance either a)
> for Theme b) for Theme Options they are more than welcome to do that. Simple
> shorthand properties will speed up the any page.
> *Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
> emil at themeid.com | http://themeid.com
> Make everything as simple as possible, but not simpler. - Albert Einstein
> On Sat, May 7, 2011 at 11:03 PM, Ryan Hellyer <ryan at pixopoint.com> wrote:
>> > From: Emil Uzelac <emil at themeid.com>
>> > Subject: Re: [theme-reviewers] Best practice CSS options
>> > Performance-wise for Theme Options? come on now. How much of styles can
>> > have to worry about the page speed? The important part is that our
>> > CSS or JS is used only where we need it and that's i.e.
>> > and yes we do use external styles. I would not worry about performance
>> > all. wp_head is the easiest and definitely the best option to do this
>> > Cheers,
>> > Emil
>> I think you are assuming that generated CSS will only be very small,
>> whereas it could easily be all of the CSS used in the theme. Plus, if
>> someone wants to improve their themes performance the theme review team
>> presumably doesn't want to intentionally stop them from doing so.
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers