Menu Title Capitalization

Having trouble installing Oxygen? Got a bug to report? Post it all here.
QnPi01
Posts: 4
Joined: Mon Jul 22, 2019 4:03 pm

Menu Title Capitalization

Post by QnPi01 »

Hi Folks,

The webhelp responsive overrides our title capitalization in the menu and it violates our style guide: the articles, prepositions are capitalized but we purposely keep them lower case.

For example, Overview of the Topic --> Overview Of The Topic

Can we turn this off?
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Menu Title Capitalization

Post by Costin »

Hello,

There is a rule that comes from the default CSS files that controls this behavior.
So you could use a customization CSS of your own, with the following rule, to override this:

Code: Select all

.wh_top_menu ul ul li {
    text-transform: initial;
}
At any time, you could use your internet browser's CSS inspector to better observe which rules are applied on the output and which selectors you could use to write your own CSS to override those rules.
More details on using the browser's CSS Inspector and using a customization CSS available in this section from the WebHelp User-Guide.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
QnPi01
Posts: 4
Joined: Mon Jul 22, 2019 4:03 pm

Re: Menu Title Capitalization

Post by QnPi01 »

Hi Costin,

Thanks for the support, we will take a look at on this.

Regards,
Péter
alin
Site Admin
Posts: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Menu Title Capitalization

Post by alin »

Hello,

What you want can be achieved using the following property:

Code: Select all

text-transform: capitalize;
https://developer.mozilla.org/en-US/doc ... -transform

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply