"No CSS file specified" in webhelp template opt file
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 8
- Joined: Fri Jul 11, 2025 2:22 pm
"No CSS file specified" in webhelp template opt file
Hi,
After trying out the webhelp function with oxygen templates, I am ready to move on to incorporating our corporate identity. I have been following the webinar "Techniques for Customizing the WebHelp Responsive Output" (https://www.youtube.com/watch?v=RN5oOuydKFo), but I am stuck defining my CSS in the opt file. I get the message "W No CSS file specified" even though I insert the file via the dropdown that opens in oxygen when after typing "css/". The CSS is sitting in a folder called "css" which is right next to the opt file within the Project view. What could be wrong?
Thank you for any hints.
After trying out the webhelp function with oxygen templates, I am ready to move on to incorporating our corporate identity. I have been following the webinar "Techniques for Customizing the WebHelp Responsive Output" (https://www.youtube.com/watch?v=RN5oOuydKFo), but I am stuck defining my CSS in the opt file. I get the message "W No CSS file specified" even though I insert the file via the dropdown that opens in oxygen when after typing "css/". The CSS is sitting in a folder called "css" which is right next to the opt file within the Project view. What could be wrong?
Thank you for any hints.
-
- Posts: 59
- Joined: Thu Mar 05, 2009 11:44 am
Re: "No CSS file specified" in webhelp template opt file
Hi,
In your .opt (template descriptor) file, the CSS file must be referenced in the <resources> section, like this:
Is your .opt file still valid after selecting the CSS file? If no validation errors are reported and the CSS file is present in the correct location inside the publishing template, but the issue persists, we will need your publishing template to further investigate the problem.
You can send us a ZIP archive containing the publishing template using our support form.
Regards,
Marius
In your .opt (template descriptor) file, the CSS file must be referenced in the <resources> section, like this:
Code: Select all
<resources>
<css file="css/your-style.css"/>
</resources>
You can send us a ZIP archive containing the publishing template using our support form.
Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
Syncro Soft / Oxygen XML
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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