PHP person help me with stylesheet code?
-
Hi, I am a css & html person but I don’t know PHP. I want to change the code in my header.php file to use one stylesheet for screen and another for mobile devices, can someone please help me out with exactly what code I would put there?
In my normal htm pages on my site I have this code:
‘<meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes” />
<link media=”Screen” href=”style.css” type=”text/css” rel=”stylesheet” />
<link media=”handheld, only screen and (max-width: 620px), only screen and (max-device-width: 620px)” href=”mobile.css” type=”text/css” rel=”stylesheet” />
<!–[if IEMobile]>
<link rel=”stylesheet” type=”text/css” href=”mobile.css” media=”screen” />
<![endif]–>’How would I translate this code to use in my wordpress blog header?
Thank you for any help!
- The topic ‘PHP person help me with stylesheet code?’ is closed to new replies.