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

Props TomasM, hiwhatsup. Fixes #28938.
Built from https://develop.svn.wordpress.org/trunk@30868


git-svn-id: http://core.svn.wordpress.org/trunk@30858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-12-15 17:56:21 +00:00
parent 8c4a4962a0
commit e5eca7a60b
1 changed files with 18 additions and 3 deletions

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 {