Hide required fields label

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1256445
    richard simpson
    Participant

    Hi
    I’ve tried to hide this label, it works on horizontal but not on vertical widget. I just duplicated the element. I used the code below.

    .mphb-required-fields-tip label, .mphb_sc_search-adults label {
    display: none;
    }

    Not sure why, any help would be appreciated.

    #1258935
    J. Davis
    Keymaster

    Hi Richard,

    Please try to remove label next to .mphb-required-fields-tip. Here is adjusted code:

    .mphb-required-fields-tip, label.mphb_sc_search-adults, label.mphb_widget_search-adults  {
    display: none;
    }

    Let me know if it is helpful.

    best regards,
    J. Davis

    #1259069
    richard simpson
    Participant

    Thanks for that, worked a treat. Require fields tip not a label just a class?

    #1266968
    Valeriia Bavykina
    Moderator

    Hello! Sorry but I don’t quite follow you.Could you rephrase that, please?

    #1267105
    richard simpson
    Participant

    I just meant that the .mphb-required-fields-tip didn’t need label adding to the code like label.mphb_sc_search-adults does.
    That is how I had it originally and when I removed the label bit the code worked. Does that make sense?

    #1267957
    Valeriia Bavykina
    Moderator

    Hello Richard!

    Now I see. Thank you for sharing your personal experience. Feel free to let us know if you have any other questions or feedback.

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