月別アーカイブ: 2014年10月

media query : max-width, min-width

“min-device-width” did not work.

functions.php in adventure-child:

if ( get_theme_mod(‘title_size_setting’) != ‘4.0’ ) echo ‘    @media only screen and (min-width: 361px) {.header h1 {font-size:’ . get_theme_mod(‘title_size_setting’) . ‘em;}}’ . “\n”;
worked O.K.

php.ini rewrite

To increase upload_max filesize in migrating database.

/etc/php5/apache2# gksudo gedit php.ini

    upload_max_filesize = 10M

    post_max_size = 10M   ;not necessary just fun.

service apache2 restart
 

norikoshop taken care as much as possible for IE8

1. migrate database from japantourguide.lolipop.jp.

2. FFFTP uploads.

3. FFFTP adventure-child.

Firefox: everything fine.

IE8: content background and sidebar background O.K.  Footers O.K.

header: arrangement no good.  Fixing is O.K.

content: CR generates extra blank lines.

wordpress version 3.7.4.

4. Commentout extra in functions.php.

<?php /*if (strpos($_SERVER[‘HTTP_USER_AGENT’],”MSIE 8″)) {
header(“X-UA-Compatible: IE=7”);} */?> .

(Note that IE enhancer plugin is not introduced)

Almost resemblance of IE8 to Firefox.

The difference or defect:

content has no left margin. Sidebar has no right margin.

Font size looks larger.