[twenty eleven] customising gallery attachment pages.
-
Hi all,
I am working on this site: https://www.nadaav.com/n – in particular I am playing with this page: https://www.nadaav.com/n/press
I have a gallery on that page. At the moment I have it set so that the gallery objects link to the media files only. This is because when I like to the attachment page, which would be my preference, the page itself is really ugly.
I would like to alter the attachment page to have a smaller title, less padding under the title, and no metadata. It is only the attachment pages and nothing else in my site that I would like to alter in this regard. I cannot find where in style.css code about this is, and so cannot work out what to put in my style.css in my child theme.
This is the closest I can find in the style sheet:
/* =Attachments ----------------------------------------------- */ .image-attachment div.attachment { background: #f9f9f9; border: 1px solid #ddd; border-width: 1px 0; margin: 0 -8.9% 1.625em; overflow: hidden; padding: 1.625em 1.625em 0; text-align: center; } .image-attachment div.attachment img { display: block; height: auto; margin: 0 auto 1.625em; max-width: 100%; } .image-attachment div.attachment a img { border-color: #f9f9f9; } .image-attachment div.attachment a:focus img, .image-attachment div.attachment a:hover img, .image-attachment div.attachment a:active img { border-color: #ddd; background: #fff; } .image-attachment .entry-caption p { font-size: 10px; letter-spacing: 0.1em; line-height: 2.6em; margin: 0 0 2.6em; text-transform: uppercase; }
Is there anything in here that affects the appearance of the page I am talking about in the way I want to alter it?
Thanks so much for your help with this.
- The topic ‘[twenty eleven] customising gallery attachment pages.’ is closed to new replies.