Results 1 to 3 of 3

Thread: Mobile css not showing

  1. #1
    Join Date
    Mar 2006

    Mobile css not showing

    I have a wordpress site and I'm trying to make a style sheet for mobile devices but it doesn't seem to work. This is the code I used
    <link media="only screen and (max-device-width: 320px)" href="mobile.css" rel="stylesheet" />
    I used mobilephoneemulator.com to test the site but it doesn't seem to be using the mobile css. What is wrong? if it helps my site is http://www.deliciousmanga.com

  2. #2
    Join Date
    Dec 2012
    I have looked at your style sheet for the mobile devices and I'm not seeing any media queries in there.

    Take a look at this site here.

    This is a sample media query:

    @media only screen and (max-device-width: 480px) {}
    Then, all your CSS goes inside the {} brackets...

  3. #3
    Join Date
    Jul 2013
    if it is not showing check the location of your csss, maybe try href="/mobile.css"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center