Problem is, my images are showing up in search engines and the attachment page they're showing up on looks horrible. I messed it up when I used CSS to build the page templates that my regular content displays on.
Since my other pages look fine, I really don't want to rebuild whatever template the image attachment page uses. I'd rather just switch the template they display on if I can.
If I could, I would even just get rid of all the image attachment pages since they're just a damn nuisance. I really don't want them appearing in search engine results at all.
I have no clue what php page template the images are using for the attachments page. How can I find that out and change it? Is it single.php?