Reply To: Remove “Publish” and “Image” in WP-Gal Attachment

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

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