• Resolved alondonb

    (@alondonb)


    Cannot seem to figure out the correct class for CSS styling. I can get it to work by adjusting the margin to 0 in Chrome developer tools, but it isn’t working when placed in the CSS file.

    Here is what I would like changed:
    span.wpcf7-list-item {
    margin-left: 0em !important;
    }

    What am I missing? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try this instead.
    .wpcf7-list-item span{
    margin-left: 0em !important;
    }
    Unless span is an id, then it should be.
    #span.wpcf7-list-item {
    margin-left: 0em !important;
    }

    Thread Starter alondonb

    (@alondonb)

    Thank you!

    I got it to work using this:

    .wpcf7-list-item {
    margin-left: 0em !important;
    }

    Left the span off entirely.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS Styling for Consent Checkbox’ is closed to new replies.