Web-help mobile header field

Having trouble installing Oxygen? Got a bug to report? Post it all here.
SusanCampbell01
Posts: 9
Joined: Fri Jan 24, 2014 9:36 pm

Web-help mobile header field

Post by SusanCampbell01 »

Hello,

I have a quick question. I've been working with the Web-help mobile output and I noticed the text in the header section doesn't seem to change to fit the screen width. There's always some spacing on the right and left of the screen, so the title text is truncated, even though there should be enough room to fit it. For example, it displays "<Product name> over...". Is there a way to adjust the spacing on the left and right side of the text? I just used the H1 or H2 tags. I hope that makes sense.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Web-help mobile header field

Post by sorin_ristache »

Hello,

It is a feature of jQuery Mobile to align the title to the left and limit the space taken by the title to 80% of the width of the browser window. You can increase the width allocated to the title text to 90% or 95% with a custom CSS file that sets the width as in the following example and that you set in the args.css parameter of the Webhelp transformation (you should set also the args.copycss parameter to yes):

Code: Select all

.ui-header .ui-title {
width: 90% !important;
}

Regards,
Sorin
Post Reply