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:
parent
e5e99398ce
commit
6e4c453897
|
@ -158,7 +158,7 @@ body.full-width .site-content {
|
||||||
color: #636363;
|
color: #636363;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.menu-toggle {
|
.main-navigation .menu-toggle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.entry-header .entry-title {
|
.entry-header .entry-title {
|
||||||
|
@ -183,16 +183,27 @@ body.full-width .site-content {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: 47.916666667%;
|
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 .widget-area .widget,
|
||||||
|
.template-front-page .first.front-widgets,
|
||||||
.template-front-page.two-sidebars .widget-area .front-widgets {
|
.template-front-page.two-sidebars .widget-area .front-widgets {
|
||||||
float: left;
|
float: left;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
width: 51.875%;
|
width: 51.875%;
|
||||||
}
|
}
|
||||||
|
.template-front-page .second.front-widgets,
|
||||||
.template-front-page .widget-area .widget:nth-child(odd) {
|
.template-front-page .widget-area .widget:nth-child(odd) {
|
||||||
clear: right;
|
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 {
|
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 24px;
|
margin: 0 0 24px;
|
||||||
|
@ -203,8 +214,12 @@ body.full-width .site-content {
|
||||||
float: none;
|
float: none;
|
||||||
width: auto;
|
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 h1,
|
||||||
.rtl .site-header h2 {
|
.rtl .site-header h2 {
|
||||||
|
|
Loading…
Reference in New Issue