Twenty Twelve: fix widget stacking problem in older IE browsers for Front Page template.

Props TomasM, hiwhatsup. Fixes #28938.

git-svn-id: https://develop.svn.wordpress.org/trunk@30868 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2014-12-15 17:55:37 +00:00
parent d931b5cbc5
commit 5f5936f81f

View File

@ -158,7 +158,7 @@ body.full-width .site-content {
color: #636363;
font-weight: bold;
}
.menu-toggle {
.main-navigation .menu-toggle {
display: none;
}
.entry-header .entry-title {
@ -183,16 +183,27 @@ body.full-width .site-content {
margin-bottom: 0;
width: 47.916666667%;
}
/* IE Front Page Template Widget fix */
.template-front-page .widget-area {
clear: both;
}
.template-front-page .widget {
width: 100% !important;
border: none;
}
.template-front-page .widget-area .widget,
.template-front-page .first.front-widgets,
.template-front-page.two-sidebars .widget-area .front-widgets {
float: left;
margin-bottom: 24px;
width: 51.875%;
}
.template-front-page .second.front-widgets,
.template-front-page .widget-area .widget:nth-child(odd) {
clear: right;
}
.template-front-page .widget-area .widget:nth-child(even),
.template-front-page .first.front-widgets,
.template-front-page .second.front-widgets,
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
float: right;
margin: 0 0 24px;
@ -203,8 +214,12 @@ body.full-width .site-content {
float: none;
width: auto;
}
/* add input font for <IE9 Password Box to make the bullets show up */
input[type="password"] {
font-family: Helvetica, Arial, sans-serif;
}
/* =RTL overrides for IE7 and IE8
/* RTL overrides for IE7 and IE8
-------------------------------------------------------------- */
.rtl .site-header h1,
.rtl .site-header h2 {