Titles on Blocks/Widgets always uppercase

Posted in: Newspaper
Post count: 8

The category titles on the VC Blocks (Block 1, Block 2, etc) and widget titles are always uppercase. Changing this to “None” or “Capitalise” in the theme panel has no effect. Changing it to “Lowercase” works. When I inspect the HTML source in the browser I see that the string is presented as uppercase – so I suspect that it is converted with PHP strtoupper() before it gets to the browser. Of course, CSS text-transform: capitalize; does not work on all-caps strings.

Where and how do I fix this?

Denis

  • This topic was modified 11 years by potion.
Post count: 6600

Hi,

Plaese just remove the mb_strtoupper() function, like this: http://screencast.com/t/WsY0sHSu

Thanks

Post count: 8

Thanks Lucian, that worked. However, this will not survive a theme update. Maybe in a future release you can change this so that CSS is used instead.

Denis

  • This reply was modified 11 years by potion.
Post count: 6600

Hi,

We will think about this, you can use child theme so that an theme update won’t affect your changes. https://forum.tagdiv.com/child-theme-documentation/

Thanks for the message

Post count: 7

Lucian, can you re-upload the screencast?
i have the same problem, but the screencast is no longer available.

please re-upload

Post count: 7

Lucian, can you re-upload the screencast?
i have the same problem, but the screencast is no longer available.

please re-upload

Post count: 22421

Hi,
Are you still using newspaper 4? because this method used to work for the old version of the theme. Now the text is not capitalized anymore: http://screencast.com/t/C6pTPKQhE Please provide more details as to what you want help with. (Solutions from 2014 most likely will not work anymore on the current version of the theme)
Thank you!

Post count: 7

I’m using latest Newsmag, actually.
But I already have found the solution. Thank you

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.