Support » Fixing WordPress » Attachment Page – Image Align
5 years, 6 months ago
I have a WPFolio based art website with one image gallery. The gallery is currently set to have attachment pages when you click on a image.
I would like to know if I can center those images located on the attachment pages to fit in with the overall style
If you copy your themes single.php file and name it image.php you can then style this page as you wish with CSS.
Unfortunately I am not paticularly advanced at wordpress. I did what you said and now the gallery attachment page has changed to this
Would you know code I should add to image.php to remove the comment box and to re-add the image / image title etc.?
The link links to the same as before which is correct. You will have to take a look at your template file in order to work out what to remove etc.
4 years, 6 months ago
Thanks, equalmark. Your info supplied above really helped me.