Why is my website cutting off on mobile devices?

前端 未结 6 1351
栀梦
栀梦 2020-12-20 06:57

I created this website with the original intention of having it be mobile. However I\'ve had to take that function out and for the time being just wanted to have it so when

6条回答
  •  感情败类
    2020-12-20 07:33

    I didn't find a css for mobile devices in your themes style.css file. Please write some css for various device like android, iphone, ipad, tablet pc etc.

    Example:

    * @media Rule */
    @media all and (max-width: 1024px) {here is your css code}
    
    @media all and (min-width: 800px) and (max-width: 1024px) {here is your css code}
    
    @media all and (min-width: 320px) and (max-width: 780px) {here is your css code}
    

    I think it will help you to understand responsive css design properly.

    • http://learn.shayhowe.com/advanced-html-css/responsive-web-design
    • http://www.responsivegridsystem.com/
    • http://www.creativebloq.com/responsive-web-design/build-basic-responsive-site-css-1132756

    Thanks

提交回复
热议问题