WebHelp output - font change for Product title
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 18
- Joined: Mon Jul 29, 2013 8:57 pm
WebHelp output - font change for Product title
Using Oxygen 14.2, I was able to edit tocWDiv.css to change the background for productTitle to my choice of color. How do I change the style of font and its color for the text that appears in that box? I see the productTitle h1 definitions but there's nothing setting a font color. Is this the text that appears in that box?
Could use a pointer to the correct .css and element to edit.
Thanks.
Could use a pointer to the correct .css and element to edit.
Thanks.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: WebHelp output - font change for Product title
Post by sorin_ristache »
Hello,
The font style and the color can be set either in the selector for #productTitle or the selector for #productTitle h1 in tocWDiv.css, by adding the appropriate CSS properties, for example:
The Webhelp title from the top title area of the Webhelp page is enclosed in an h1 element, but the properties will also work if they are set on the parent of the h1 element (which is #productTitle), this is why both selectors are correct insertion places.
By default these CSS properties are inherited from the parent elements of the HTML page, so if you want to set some specific custom values for these properties this (the above mentioned location in tocWDiv.css) is the place to do it.
Regards,
Sorin
The font style and the color can be set either in the selector for #productTitle or the selector for #productTitle h1 in tocWDiv.css, by adding the appropriate CSS properties, for example:
Code: Select all
font-style:italic;
color:#49EE15;
By default these CSS properties are inherited from the parent elements of the HTML page, so if you want to set some specific custom values for these properties this (the above mentioned location in tocWDiv.css) is the place to do it.
Regards,
Sorin
-
- Posts: 18
- Joined: Mon Jul 29, 2013 8:57 pm
Re: WebHelp output - font change for Product title
Thanks for the help. I had also discovered the post about inserting an image before the title text, which was something else I wanted to do. I was able to follow to take advantage of that info, yay. It's the time-consuming aspect of identifying which elements to work on that's a bit daunting. So posting here really helps! thanks.
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service