Home › Forums › Quform WordPress › how to hide the lable?
This topic is: not resolved
- This topic has 2 replies, 3 voices, and was last updated 8 years ago by
Ally.
Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- August 6, 2018 at 5:44 pm #26558
damtii
ParticipantHi,
I would like to know how can I hide the lable on any field…thanks.
August 7, 2018 at 5:23 am #26567katw
ParticipantHi @damti, thought I could help out.
You can hide the field label by either:
- Leaving the field label empty (no text = no label)
- Using CSS style option in the field settings OR add a style to your theme. The easiest way is using the field settings if just hiding a few labels. HOW? Follow these steps:
- Edit field with the label you want to suppress
- Click [STYLES] tab on Element Settings window
- Click [Add a style] button at bottom under CSS Styles
- Choose
Label-Textas selector (if you want to hide the label but not tooltip) orlabel(to hide label and tooltip) - Type
display:none;in the CSS box - Save
The important thing to work out is whether you need or want the Required asterisk ‘*’ or Tooltip to still show in the absence of a label.
To keep the field required asterisk on show you will need to add further custom CSS override. As this markup is also hidden when you use either selector as described above. This is because the HTML markup for ‘Required’ is inside the label tag.
See how you go.
August 7, 2018 at 4:46 pm #26573Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
