Mobile Phone Blog Width

  • Unknown's avatar

    Hi guys,

    A while back you helped me widen my blog using custom CSS code. After doing that, the blog no longer stretched across the entire screen when using the regular (non-mobile) version of the site on a mobile phone. You provided CSS code to fix this width issue on mobile phones, which worked, but since then it seems to have reverted back to the old issue – when viewing the non-mobile version of the site on a mobile phone, the content doesn’t stretch across the entire screen. Is there a way to fix this again?

    Thanks,

    Ben

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

  • Unknown's avatar

    Hi there, on this media query in your custom CSS (at the top) change min-width: 767px to 768.
    @media only screen and (min-width: 768px)
    Then add this to the very bottom of your custom CSS.

    @media screen and (max-width: 767px) {
    	#content {
    		width: 100%;
    		margin-left: 0;
    	}
    }
  • Unknown's avatar

    Very nice, thanks good sir!

  • Unknown's avatar
  • The topic ‘Mobile Phone Blog Width’ is closed to new replies.