0

I downloaded an HTML website template and converted it to a wordpress theme. I know wordpress requires a file called style.css (which came with my template). If I want to make my own custom styling in my wordpress site, is it best practice to just edit the style.css file? Or to create my own css file and add it in functions.php?

I know there's also a section in the wordpress editor to add custom lines of css but that seems dangerous to me as I don't know where it's putting that code.

Thanks,

1 Answer 1

0

It solely depends on you. You can go with both the options. As you are developing the custom wordpress theme from scratch you can add the code into themes default style.css.

If you are using any another css file the better way to do it is to insert it directly into the header file in place of calling it via hook in functions.php.

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.