Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to edit a file style.css but the theme editor shows this:

/* ---------- Reset Tags ----------- */
@import url("css/reset.css");

/* ---------- Reset Tags ----------- */
@import url("css/prettyPhoto.css");

/* ---------- Shortcodes ----------- */
@import url("css/shortcodes.css");

/* ---------- Site Styles ---------- */
@import url("css/style.css");

Is there any way to edit css/style.css via the Theme Editor?

share|improve this question

3 Answers 3

The theme editor has support for files in a subdirectory - but only if this is the main theme and only for PHP files. This seems to be an omission, I opened a ticket for it.

share|improve this answer
    
Thanks for that –  LifeH2O May 5 '11 at 12:27

If you move your CSS files to the root of your theme, instead of a separate "css" directory, the CSS files will show up in the admin automatically.

share|improve this answer
    
no way otherwise? –  LifeH2O May 5 '11 at 11:37

To answer your question directly: no, it is not possible to edit a css file which is in a subdirectory of your theme. I would suggest you move the css files to the root of your theme as Geert suggested here. You will need to access your site directory via FTP. If you don't know how to do this, contact your hosting provider and they will be able to give you instructions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.