WordPress.org

Ready to get started?Download WordPress

Forums

Attachment Page - Image Align (5 posts)

  1. JWG
    Member
    Posted 2 years ago #

    Hi.

    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

    Thanks,
    JWG

  2. equalmark
    Member
    Posted 2 years ago #

    If you copy your themes single.php file and name it image.php you can then style this page as you wish with CSS.

  3. JWG
    Member
    Posted 2 years ago #

    Hi.

    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.?

    Thanks

  4. equalmark
    Member
    Posted 2 years ago #

    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.

  5. DougJoseph
    Member
    Posted 1 year ago #

    Thanks, equalmark. Your info supplied above really helped me.

Topic Closed

This topic has been closed to new replies.

About this Topic