Page 1 of 1

Menu Title Capitalization

Posted: Mon Aug 05, 2019 10:44 am
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?

Re: Menu Title Capitalization

Posted: Tue Aug 06, 2019 5:18 pm
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

Re: Menu Title Capitalization

Posted: Tue Aug 06, 2019 6:41 pm
by QnPi01
Hi Costin,

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

Regards,
Péter

Re: Menu Title Capitalization

Posted: Thu Mar 11, 2021 5:08 pm
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