Page width and mobile issues

  • Unknown's avatar

    I am using the following code to alter the width of the content on my page. When i do this it makes the website wider as required, but when viewing using a tablet the content goes off the page. Is there some way i can make it forget this code when using a tablet and just dipslay the content as the theme is set.

    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    margin: 0 auto;
    width: 700px;
    }

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Have a look at the support page on media queries which should give you a good grounding in the technique to use.

    Try wrapping your example declarations in this code (don’t forget the closing bracket!):

    @media (min-width:800px) {
      EXISTING_CODE_GES_HERE
    }
  • Unknown's avatar

    Thanks that has worked exactly as i wanted.

  • The topic ‘Page width and mobile issues’ is closed to new replies.