• Profilfoto von Wren

      Wren hat einen Beitrag veröffentlicht

      7 Monate aktiv.

      Meine Website hatte eine horizontaler Überlauf Problem in der mobilen Ansicht, da der Inhalt der Fußzeile überläuft. Um dies zu beheben, habe ich den folgenden CSS-Code angewendet:

      body { overflow-x: hidden; max-width: 100%; }

      This code resolved the horizontal overflow issue, but it also caused the footer and its content to be hidden. How can I fix this issue while ensuring the footer content remains visible?

      • Wenn Sie in der mobilen Ansicht keinen Füllwert festlegen, wird in der Regel der Desktop-Füllwert verwendet. Sie können versuchen, die Zahl auf 0 zu setzen
        "`/* Standardstile (z.B. Desktop-Ansicht) */

        .element {

        fill: #000; /* Beispiel Desktop-Füllwert */

        }

        /* Mobile view – Explicitly set fill to 0 */

        @media screen and (max-width: 768px) { /* Adjust max-width as needed for your mobile breakpoint */

        .element {

        fill: none; /* Or set it to 0, depending on what you want to achieve */

        }

        }

        “`