lukgol26's avatar

Page is broken on mobile.

0 likes
5 replies
LaryAI's avatar
Level 58

Certainly! Since the page appears broken on mobile, the most common issues are usually related to CSS responsiveness (like missing viewport meta tag, fixed widths, overflow problems, etc.).

Here are steps to help fix common mobile layout issues:

  1. Add the viewport meta tag

    Make sure this is in your <head> section:

    <meta name="viewport" content="width=device-width, initial-scale=1">
    
  2. Use responsive widths

    Avoid fixed pixel widths. Use relative units like percentages or max-width.

    For example, change:

    .container {
        width: 600px;
    }
    

    to:

    .container {
        width: 90%;
        max-width: 600px;
        margin: 0 auto;
    }
    
  3. Check for overflow

    Sometimes elements overflow the screen. Add this to your CSS to help debug:

    * {
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden;
    }
    
  4. Use media queries for smaller screens

    Example:

    @media (max-width: 600px) {
        .container {
            width: 100%;
            padding: 10px;
        }
        /* Adjust font sizes, images, etc. */
    }
    
  5. Test images and tables

    Make sure images and tables are responsive:

    img {
        max-width: 100%;
        height: auto;
    }
    table {
        width: 100%;
    }
    

Next Steps:

  • Inspect your page using Chrome’s Device toolbar or another responsive tool.
  • Check for any fixed-position or absolute elements that may break the layout.
  • Share your CSS/HTML if you need more targeted help!

Let me know if you want to post specific pieces of code or if more debugging is needed!

lukgol26's avatar

Are there someone from administrators to fix this issue?

steks89's avatar

VERY ANNOYING. I have the same problem, it still here. I've sent a support request, they said they would fix, they didn't.

It is just remove the "gap-8" on mobile.

Please or to participate in this conversation.