WordPress.org

Make WordPress Core

Ticket #23996: 23996.3.diff

File 23996.3.diff, 721 bytes (added by celloexpressions, 5 years ago)

Fix gallery caption display for IE 7&8

  • wp-content/themes/twentythirteen/css/ie.css

     
    6061        max-width: 604px;
    6162        margin: 0;
    6263}
     64
     65.gallery-item,
     66.gallery img {
     67        max-width: none;
     68}
     69
     70.gallery-caption {
     71        background: #000;
     72        filter: alpha(opacity=0);
     73}
     74
     75.gallery-item:hover .gallery-caption {
     76        filter: alpha(opacity=70);
     77}
     78
    6379.comment {
    6480        clear: both;
    6581}
     
    117133        width: auto;
    118134}
    119135
    120 .ie8 .gallery img {
    121         max-width: none;
    122 }
    123 
    124136.ie8 .sidebar .entry-header,
    125137.ie8 .sidebar .entry-content,
    126138.ie8 .sidebar .entry-summary,