INN / Largo-Sample-Child-Theme

An example WordPress child theme based on the Largo parent theme (http://github.com/inn/largo)
GNU General Public License v2.0
5 stars 1 forks source link

Default Child CSS File Rename #14

Open 0aveRyan opened 9 years ago

0aveRyan commented 9 years ago

Discovering style.css in both Largo and Child Theme presents an annoyance during development.

When inspecting elements, the browser tells you which css file a bit of style traces back to. Because we're using minified CSS called style.css in both parent and child, short of looking for the file location on the server, it becomes a chore to tell if properties are being inherited from the parent or child.

Recommend the child theme style.less, style.css and style.min.css get renamed to child-style.less, child-style.css, child-style.min.css.

aschweigert commented 9 years ago

+1 on this, we'll want to make a list and, in any down time we might have, go back and retrofit all of the sites already using 0.5 to make sure they all meet this standard (for the others who are still on 0.3 we can just handle this as part of the update process).

aschweigert commented 9 years ago

there may be some issue with how child theme css files are enqueued in largo as well that we'd want to double check as well...i recall running into some weird issues there before.