Support » Plugin: Advanced Product Fields (Product Addons) for WooCommerce » Class atribute not working

  • Resolved gurabelo17

    (@rabelo17)


    Hi,

    I`m trying to input a custom class to a field, but it is not working.

    Is anybody else facing this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maarten Belmans

    (@maartenbelmans)

    Hi @rabelo17

    Can you explain what happens? Do you enter a class in the settings, then save, and it’s gone instead of saving?

    Thread Starter gurabelo17

    (@rabelo17)

    Hi @maartenbelmans,

    Thanks for your fast reply.

    I enter the custom class in the settings, then save, and it is not inserted into the html atribute class=””. Just keeps the default class=”wapf-input”.

    I would like to have a custom class like class=”wapf-input date”, so i can use a third plugin to have masks in the field, for example.

    Plugin Author Maarten Belmans

    (@maartenbelmans)

    Hi @rabelo17

    The class is put a little higher on the container element. So targeting the input element itself with CSS would become:

    .yourclass .wapf-input

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Class atribute not working’ is closed to new replies.