[wp-forums] My Child Theme has no CSS!

andrew nevins andrew.nevins.misc at gmail.com
Thu Aug 14 18:48:21 UTC 2014


Yes please I don't quite know what I'm doing


On Thu, Aug 14, 2014 at 7:42 PM, Marius Jensen <funman at gmail.com> wrote:

> Aye, not an ideal approach I agree as CSS comments generally get ignored. I
> guess a new bullet point is needed, I'll slap one in there unless you feel
> like doing it?
>
>
> On Thu, Aug 14, 2014 at 8:40 PM, andrew nevins <
> andrew.nevins.misc at gmail.com
> > wrote:
>
> > Yes, it is actually a good thing to know, but I don't think it should
> have
> > been edited that way. The way that we're instructing people through CSS
> > comments to comment/ uncomment things out.
> >
> >
> > On Thu, Aug 14, 2014 at 7:37 PM, Marius Jensen <funman at gmail.com> wrote:
> >
> > > I think it was done intentional, the @import is a legacy thing for
> before
> > > when themes didn't use wp_enqueue_style() to get their CSS added.
> > >
> > > The correct approach is to NOT use @import and let the stylesheets be
> > > loaded in wp_head() the right way.
> > >
> > >
> > >
> > > On Thu, Aug 14, 2014 at 8:33 PM, andrew nevins <
> > > andrew.nevins.misc at gmail.com
> > > > wrote:
> > >
> > > > Has anyone noticed the amount of people creating Child Themes with
> the
> > > > '@import' line commented out in their style.css file? And those
> people
> > > > complaining that they have no CSS?
> > > >
> > > > I didn't realise it, but the Codex resource on Child Themes had this
> > > > '@import' line commented out and above it was a comment saying
> > something
> > > > along the lines of "uncomment out the import line if you're using a
> new
> > > > theme".
> > > >
> > > > I've took out that and reverted it back to how it was.
> > > >
> > > >
> > > >
> > >
> >
> http://codex.wordpress.org/index.php?title=Child_Themes&diff=145568&oldid=144786
> > > >
> > > > I'm not sure how this Codex discussion thing works but I've tried to
> > > notify
> > > > the person who made this change:
> > > > http://codex.wordpress.org/User_talk:Ryanr14
> > > > _______________________________________________
> > > > wp-forums mailing list
> > > > wp-forums at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-forums
> > > >
> > >
> > >
> > >
> > > --
> > > Regards
> > > Marius Jensen
> > > _______________________________________________
> > > wp-forums mailing list
> > > wp-forums at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-forums
> > >
> > _______________________________________________
> > wp-forums mailing list
> > wp-forums at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-forums
> >
>
>
>
> --
> Regards
> Marius Jensen
> _______________________________________________
> wp-forums mailing list
> wp-forums at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-forums
>


More information about the wp-forums mailing list