Remove “Publish” and “Image” in WP-Gal Attachment

Home Forums WordPress Themes – Premium Encounters Remove “Publish” and “Image” in WP-Gal Attachment

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14310
    Ed Hansen
    Member

    I just built a WP-Gallery Page. When I click on a thumb nail image I see the “Attachment” Page with the larger image, but I also see the “Publish” date and the “Image Size” at the time of the top. How do I remove them?
    Thanks.

    #18573
    Sushil Adhikari
    Moderator

    It’s a bit tricky to edit the file directly so if you are using a child theme for modifications or at least a plugin like jetpack that has a built in CSS Editor, you would do this:

    .attachment-details span {
    display:none;
    }
    .attachment-details {
    height: 30px;
    }

    The first one hides the date and the image size, while the second one will give some height spacing between the title and the image.

    #14311
    Ed Hansen
    Member

    Thanks a lot.
    Did just what I wanted.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.