[Resolved] css issue with .clear selector

Home Forums Support [Resolved] css issue with .clear selector

Home Forums Support css issue with .clear selector

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #742930
    SEL4US

    The following CSS code from our GeneratePress theme is causing the credit card field in one of our embedded forms (from Action Network) to be hidden. What is the code intended for and how can we change / overwrite it?

    .clear {
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0px;
    height: 0px;
    }

    You can see example of our broken form here:
    https://sel4ma.org/get-involved/donate-test/

    Thanks!
    Nova

    #742960
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Yes, that class is intended to be an invisible clearing element for floated objects.

    You can overwrite it with this CSS:

    .clear {
        display: block;
        overflow: hidden;
        visibility: visible;
        width: auto;
        height: auto;
    }
    #743012
    SEL4US

    Thanks. That did the trick!

    -Nova

    #743292
    Tom
    Lead Developer
    Lead Developer

    Glad I could help 🙂

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