Site logo

[Resolved] One of my website sections disappears on mobile

Home Forums Support [Resolved] One of my website sections disappears on mobile

Home Forums Support One of my website sections disappears on mobile

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2585916
    Madison

    One of the sections of my website is acting odd on mobile. The parent div renders, as well as its background on mobile, but the inner content completely disappears. It happens in different browsers so it must be either a wordpress issue, generatepress issue, or issue with custom CSS thats been added in the customizer.

    There are no properties that I can see in the browser inspector that would intentionally hide the content. No display:none, or other properties, which is why its strange. Its a pretty routine section, just a parent div thats a flex container, with a child container inside it holding some text and a few buttons. Nothin strange or out of the ordinary which is why I’m perplexed. Using the latest GP version, and latest wordpress version.

    The section is: “Our Toolkit.”

    Any help would be appreciated greatly, thanks!

    #2585937
    Madison

    For some reason, this CSS was the issue:

    .our-toolkit {
    height: min-content !important;
    padding: 10vh 10vw 10vh 10vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    }

    Taking out flex-direction: column, fixed it, but unsure why it caused the error to begin with…

    #2585997
    Ying
    Staff
    Customer Support

    I just replied to your other topic 🙂

    Glad you’ve figured it out!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.