Hi
I have a form and I want the labels to be inline with the input, but I can´t make it.
I already used the thread that you posted before about this issue, and it´s not working either.
Can you help me with these please?
Thanks in advance
Hey raulangeli,
Can you remove any modifications you have done to the form pleaase, then style what we shared previously and then add our mods
Best regards,
Basilis
I just put an <h2> before the labels of the form, because I need them to be with that particularly tag
If I remove it from the labels on the form could you please tell me where can I modify the form files to use <h2> for the labels instead of <p>?
Thanks
Hi,
The h2 is taking also the default theme sizes so it cant be aligned properly as float.
Best regards,
Basilis
Hi
I´m sorry but I know that the h2 is what´s given me the problem. I´m asking for your help to find a way to achieve the aligment that I need using the h2
Could you please help me with this?
Thanks a lot
Hi,
If you remove it, we allign it properly, then we can help you give a proper size on the form elements.
They should also not be h2, that is not SEO friendlu.
Best regards,
Basilis
Hi
I already removed the h2.
I need to change the font-family for the labels and align it inline with the inputs
Thanks in advance
Hi,
Thank you for the update. Set the width of the label and the make if float to the left.
#top label {
width: 30%;
float: left;
}
You may want to enable the Layout Builder > Show element options for developers option to be able to add a custom css class attribute to the contact form element.
Best regards,
Ismael