• Resolved biggersem

    (@biggersem)


    Hello,
    just tried your hide fields CSS and fields still show

    I tried these:
    .slicewp-field-wrapper[data-type=”email”] { display: none; }
    .slicewp-field-wrapper[data-type=”url”] { display: none; }
    .slicewp-field-wrapper[data-type=”textarea”] { display: none; }

    also these:
    .slicewp-field-wrapper[data-type=”email”] { display: none!important; }
    .slicewp-field-wrapper[data-type=”url”] { display: none!important; }
    .slicewp-field-wrapper[data-type=”textarea”] { display: none!important; }

    Do you have an ideas what I do wrong?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey @biggersem,

    Thank you for reaching out! From what I see, the issue is tied to the double quotes used in the code.

    The ones you’ve used are slightly inclined, while the ones needed to run the code are straight. It’s a subtle difference, but it does break the code unfortunately.

    Nevertheless, here’s the updated code that should work:

    .slicewp-field-wrapper[data-type="email"] { display: none; }
    .slicewp-field-wrapper[data-type="url"] { display: none; }
    .slicewp-field-wrapper[data-type="textarea"] { display: none; }

    Please try it out and let me know how it goes.

    Thank you and best wishes,
    Mihai

    • This reply was modified 2 years, 3 months ago by iova.mihai.
    Thread Starter biggersem

    (@biggersem)

    Hi Mahai,
    That was the trick. Thank you.

    Btw, I have found out that code

    .slicewp-field-wrapper[data-type="email"] { display: none; }

    hides user email and also payment email wrapper.

    I just need hide the payment email wrapper. What do I have to change in that code?

    Thank you,
    Lukas

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @biggersem,

    Yes, that’s true. That particular line of code will hide all email type fields.

    If you’re using our default affiliate registration form, then I’d recommend adding this line of CSS code:

    #slicewp-affiliate-register-form > div:nth-child(7) { display: none; }

    The code will hide the seventh field, which is the “Payment Email” for the default registration form.

    Please try it out and let me know how it goes.

    Best wishes,
    Mihai

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide fields CSS doesn’t work’ is closed to new replies.