Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Works around problem with Hum WordPress theme in IE7 (can help IE6 too), copies responsive styles to a separate stylesheet, which can be included only if IE7 (or IE6) is used. Posted here: http://wordpress.org/support/topic/header-logo-and-menu-ie7-layout?replies=2#post-4054505

View styleIE7.css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
/**
* Attempts to solve a problem with IE7 and Hum theme
* described here: http://wordpress.org/support/topic/ie7
*/
 
#site-title a {
font-size: 3.6em;
}
 
#main {
padding: 2em 0 0;
}
 
#page,
#branding {
margin-top: 0;
padding-top: 0;
}
 
#branding {
position: relative;
width: auto;
margin: 0 7.6%;
text-align: center;
}
 
#site-title {
padding-top: 40px;
float: none;
}
 
#site-title a {
font-size: 3.6em;
}
 
#page #branding #searchform {
position: absolute;
right: 0;
margin-bottom: 0.3em;
}
 
#main,
#colophon {
margin-left: 0;
}
 
#page #branding #searchform {
position: relative;
right: auto;
top: 0 !important;
}
 
#page #branding #s {
margin: 0 auto;
float: none;
display: block;
}
 
#access ul {
margin: 0 7.6%;
}
 
#access li {
display: inline-block;
float: none;
margin: 0 10px;
}
 
#access ul ul {
left: auto;
margin-left: 0;
}
 
/* -------------------------------------------------------------------------
** Undo hovered branding
** ------------------------------------------------------------------------- */
#page #branding #site-title a {
color: rgba( 0, 0, 0, 0.75 );
}
 
#page #branding #access a {
color: #555;
}
 
#page #branding #access .current_page_item > a,
#page #branding #access .current_page_ancestor > a {
color: #222;
}
 
#page #branding #site-description {
color: #7A7A7A;
}
 
#page #branding #searchform {
opacity: 1;
}
 
#site-title a {
font-size: 2.4em;
}
 
#page #branding #searchform {
position: relative;
right: auto;
top: 0 !important;
}
 
#page #branding #s {
margin: 0 auto;
float: none;
display: block;
}
 
#access li {
display: inline;
float: none;
}
 
.format-quote header .entry-meta {
margin-left: 22.8%;
}
 
.commentlist {
margin-left: 0;
}
 
.comment-meta {
overflow: hidden;
padding-top: 10px;
}
.commentlist li.comment .fn {
display: block;
}
.commentlist .avatar {
float: left;
margin-top: -10px;
margin-right: 10px;
margin-bottom: 5px;
}
 
.comment-content {
padding-top: 7px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.