Hide required fields label

  • This topic has 5 replies, 3 voices, and was last updated 3 years ago by Valeriia Bavykina.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1256445

    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

    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

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

    #1266968

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

    #1267105

    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

    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.