WordPress giving me the index

I found the problem.. when creating the custom post type i set the argument “has_archive” to true and that was causing a conflict so my page-portfolio.php was not loaded. Also had to change the slug of the custom type field because it had the same slug as the page, so both of them were “portfolio”.