1

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?

3 Answers 3

2

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.

0
1

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.

1
  • no way otherwise?
    – LifeH2O
    Commented May 5, 2011 at 11:37
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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