I hope this isn't backtracking too many posts, just had a quick question:
I'm using Helga's 2-col-r-fluid.css layout, which includes:
@media only screen and (max-width: 1023px) {
body {
font-size: 0.8em; /* Makes type a bit smaller at 1024 so layout doesn't look unbalanced */
line-height: 1.5em; /* As above */
}
}
@media handheld, only screen and (max-width: 767px) {
body {
font-size: 16px;
line-height: 24px;
-webkit-text-size-adjust: none; /* Stops the iPhone scalling type up */
}
#container {
width: 100%;
margin: 0 0 22px 0;
}
.main-aside {
margin-top: 22px;
width: 100%;
float: none;
clear: both;
}
#primary {
margin-right: 3.8%;
}
#footer {
margin-top;
}
#subsidiary {
padding-top: 0;
}
#subsidiary .aside {
width: 100%;
float: none;
margin:0 0 22px 0;
}
.page-template-template-page-fullwidth-php #comments {
width: 100%;
}
}
And it seems to work only sometimes on an Android phone, but only sometimes, and on iOS it doesn't at all. When I drop the
add_filter('thematic_create_stylesheet', 'childtheme_create_stylesheet');
function childtheme_media_queries_meta() { ?>
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<?php
}
add_filter('wp_head', 'childtheme_media_queries_meta');
in my functions.php, I get an error that reads:
"Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'childtheme_create_stylesheet' was given in _________/wp-includes/plugin.php on line 166"
I'm sorry if this is a stupid question, am I missing something?
Helga, the layout is AWESOME by the way, very nice!