fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
419 stars 290 forks source link

All button text should start with capital letter #4910

Closed durangod closed 7 months ago

durangod commented 7 months ago

Hi, please use PHP ucwords() on all button text. All button text first letters should be capitalized.

Thanks :)

fisharebest commented 7 months ago

I like lower case :-)

It is why the project is called webtrees and not Webtrees.

Go to the control panel, and enable the module "CSS and JS".

Now add the following to the <head> section:

<style>
.btn { text-transform: capitalize; }
btn span { display: inline-block; text-transform: capitalize; }
</style>

This should give you the effect you are after.

durangod commented 7 months ago

LOL love the humor.... and i am about to show my age. I had no clue that CSS could do that, but it makes sense it is part of styling. Thanks again, i still have much to learn about the new ways of coding and the power of some of the tools.

fisharebest commented 7 months ago

That second line should probably have been .btn rather than btn. There are a few cases where we use <a class="btn"...

durangod commented 7 months ago

Yeah i caught it... :) thanks for catching it though as well.. :)