Free and Premium WordPress Plugins & Themes Forums WordPress Themes Alpenhouse Hide required fields label
- This topic has 5 replies, 3 voices, and was last updated 2 years, 8 months ago by Valeriia Bavykina.
- AuthorPosts
- February 8, 2022 at 1:02 am #1256445richard simpsonParticipant
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.
February 12, 2022 at 2:45 pm #1258935J. DavisKeymasterHi 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. DavisFebruary 13, 2022 at 4:18 am #1259069richard simpsonParticipantThanks for that, worked a treat. Require fields tip not a label just a class?
March 1, 2022 at 1:36 am #1266968Valeriia BavykinaModeratorHello! Sorry but I don’t quite follow you.Could you rephrase that, please?
March 1, 2022 at 5:38 am #1267105richard simpsonParticipantI 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?March 3, 2022 at 2:00 am #1267957Valeriia BavykinaModeratorHello 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.
- AuthorPosts
- You must be logged in to reply to this topic.