WordPress.org

Make WordPress Core

Changeset 15393


Ignore:
Timestamp:
07/12/10 19:45:09 (4 years ago)
Author:
nacin
Message:

Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/style.css

    r15392 r15393  
    761761-------------------------------------------------------------- */ 
    762762 
    763 .entry-content .attachment img { 
    764     margin-bottom: 0; 
    765 } 
    766763.attachment .entry-content .entry-caption { 
    767764    font-size: 140%; 
     
    857854    display: none; 
    858855} 
    859  
     856#content .attachment img { /* single attachment images should be centered */ 
     857    display: block; 
     858    margin: 0 auto; 
     859} 
    860860 
    861861 
Note: See TracChangeset for help on using the changeset viewer.