Contact Form

User 2719841 Photo


Guest
62 posts

Hello,
I created a contact form for my website, and there's one minor issue I can't figure out. On my site, I have the style identified for p:first-letter so the first letter of every paragraph is a different font than the rest of the text. However, I do not want that to apply to the labels on the form on my contact page (such as those for First Name, Last Name, Email Address, Phone Number, and Contact Preference). How can I fix this? I'm not sure if I'm supposed to define styles for labels in my CSS.

In other words, I do not want the "F" in "First Name" to be a different size/color than the rest of the phrase, and so on.

Thank you!
User 187934 Photo


Senior Advisor
20,271 posts

Add a class to your custom p:first-letter then add that class fletter to the paragraphs that you want affected.
p.fletter:first-letter
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2719841 Photo


Guest
62 posts

That worked. Thank you so much!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.