WordPress.org

Make WordPress Core

Ticket #18024: diff.txt

File diff.txt, 1.0 KB (added by peterhol, 3 years ago)

Ok, I got the featured posts to show in ie8, and fixed the positioning problem in ie7. through css. seems the <section>s needed some size definitions, and the positioning for ie7 seems to have been wrong..

Line 
1Index: wp-content/themes/twentyeleven/style.css
2===================================================================
3--- wp-content/themes/twentyeleven/style.css    (revision 18490)
4+++ wp-content/themes/twentyeleven/style.css    (working copy)
5@@ -1502,11 +1502,20 @@
6 .featured-posts section.featured-post {
7        opacity: 0;
8        visibility: hidden;
9+       height:100%;
10+       width:100%;
11 }
12 .featured-posts #featured-post-1 {
13        opacity: 1;
14        visibility: visible;
15+       height:100%;
16+       width:100%;
17 }
18+.featured-posts section.featured-post img {
19+       -ms-interpolation-mode: bicubic;
20+       height:auto;
21+       width:auto;
22+}
23 .featured-post .feature-text:after,
24 .featured-post .feature-image.small:after {
25        content: ' ';
26@@ -2660,11 +2669,16 @@
27        padding-right: -7.6%;
28        max-width: 1000px;
29 }
30-#ie7 section.featured-post {
31+#ie7 .featured-posts {
32+       margin-top: 0;
33        margin-left: -7.6%;
34        margin-right: -7.6%;
35-       max-width: 850px;
36 }
37+#ie7 section.featured-post {
38+       margin-left: 0;
39+       margin-right: 0;
40+       max-width: 100%;
41+}
42 #ie7 section.recent-posts {
43        margin-right: 7.6%;
44 }