It is highly discouraged to edit themes like that, because any changes made that way will be deleted upon update. The recommended way is to create a child theme and edit your PHP CSS and HTML there.
By using a child theme you will ensure that your modifications are preserved. Using a child theme can speed up development time. Using a child theme is a great way to learn about WordPress theme development.
all the documentation to create a child theme is here Wordpress Codex
You will have to open functions.php for that theme outside of wp-admin. Like in a text editor or ide and upload it back to your themes folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.