For categories you would have to edit the archive.php or rather to be specific the category.php file.
https://codex.wordpress.org/Category_Templates
That page will give you an idea of the specificity you can go with template files.
For categories you would have to edit the archive.php or rather to be specific the category.php file.
https://codex.wordpress.org/Category_Templates
That page will give you an idea of the specificity you can go with template files.