1

I have created a WordPress themes with all the necessary templates (PHP files). However under "Styles" it's currently only showing the style.css file. I understand I can @import CSS files in style.css but I wanna be able to edit those additional CSS files from my theme directly in the WordPress theme editor, like I can with style.css.

Seems silly to have a whole "Styles" heading in the theme editor if you can't even add other CSS files?

So is it possible to make extra CSS files show up in the theme editor?

WordPress theme editor files list

1 Answer 1

0

Just create another stylesheet in your theme folder and it will show up in the theme editor. You can then edit that stylesheet from there.

You can import that css in your style.css or can enqueue style if you want.

Sign up to request clarification or add additional context in comments.

2 Comments

My additional CSS files are in /assets/css/ which is why i guess they don't show up. They have to be in root like style.css which isn't great for organization but I will have to live with it. Thanks.
yeah. css files under different folder wont be editable.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.