Page 1 of 1

Galleries & Gallery views capitalize first letter of Title field

Posted: 17 Jul 2023, 12:05
by MichaelD
Hi,
I've noticed that both in Galleries view and Gallery view, the first letter of the Title field is capitalized, e.g. the original "hello" in the Title field is rendered as "Hello" in the Views. This holds true for both category and image titles.
What do I have to do to display the unaltered string?
Thanks.

Re: Galleries & Gallery views capitalize first letter of Title field

Posted: 19 Jul 2023, 23:10
by Jan
Hi, this is made by the CSS, so you can overwrite this behaviour in your custom CSS (in your template e.g.):

Code: Select all

.pg-item-box-title a:first-letter,
.pg-category-box-title a:first-letter{
    text-transform: capitalize;
}