Is there a way to have only first letter capitalized in headline?

I understand there is a way to have headlines in all caps, capitalized, or lower-case. But is there a way to have headlines capitalized in normal sentence structure? As in just the first letter of the line capitalized, and not every word?

Like this:
Just ask our clients

Not this:
Just Ask Our Clients

Thanks in advance!

Hey @daneruef,

Yes. You basically need to make all letters to lower caps and target the first letter of the headline only and make it capitalized. The code setup for this is as follows:

.entry-title, h1, h2, h3, h4, h5, h6 {
    text-transform: lowercase;
}
.entry-title::first-letter,
h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter,
h5::first-letter,
h6::first-letter {
    text-transform: capitalize;
}

If your headline is not targeted in the above code, add it in there. If you don’t know how, give us the URL of the page where your headline is and give us a screenshot of the text and we’ll give you the selector if it’s a part of our theme.

Hope that helps.

This worked, thanks very much!

You’re welcome!
We’re glad @Christian were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.