Logo disappears in HTML output upon window resizing
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 40
- Joined: Tue Oct 30, 2018 10:49 am
Logo disappears in HTML output upon window resizing
Hello,
I am using Oxygen XML version 26 to create HTML WebHelp output.
In the output, when I scale the window down to a width of 575 pixels or less, the logo in the left corner disappears. In the HTML source of the output, the link to the logo uses the CSS class "wh_logo d-none d-sm-block" where "none" seems to be the culprit. But I have no idea where this setting comes from and how I can remove it. In the publication parameters of the opt file, there is nothing related to it.
Could you please advise how to solve this issue?
Thanks and best regards, Tanja
I am using Oxygen XML version 26 to create HTML WebHelp output.
In the output, when I scale the window down to a width of 575 pixels or less, the logo in the left corner disappears. In the HTML source of the output, the link to the logo uses the CSS class "wh_logo d-none d-sm-block" where "none" seems to be the culprit. But I have no idea where this setting comes from and how I can remove it. In the publication parameters of the opt file, there is nothing related to it.
Could you please advise how to solve this issue?
Thanks and best regards, Tanja
-
- Posts: 159
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
Re: Logo disappears in HTML output upon window resizing
Hello Tanja,
Please have a look at the original CSS file of your publishing template. You are very close to the solution.
There should be a wrapping CSS media query, which triggers the appearance of the logo. See https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Please have a look at the original CSS file of your publishing template. You are very close to the solution.
There should be a wrapping CSS media query, which triggers the appearance of the logo. See https://www.w3schools.com/css/css_rwd_mediaqueries.asp
stefan-jung.org – Your DITA/DITA-OT XML consultant
-
- Posts: 38
- Joined: Thu Jul 29, 2021 12:02 pm
Re: Logo disappears in HTML output upon window resizing
Post by InspectorSpacetime »
Hi Tanja,
You could also try:
in your custom CSS.
The d-none is a Bootstrap display class that hides the element. The d-sm-block, however, overrides this and shows the element when the screen size is larger than the small breakpoint (576px).
You could also try:
Code: Select all
.wh_logo {
display: block !important;
}
The d-none is a Bootstrap display class that hides the element. The d-sm-block, however, overrides this and shows the element when the screen size is larger than the small breakpoint (576px).
-
- Posts: 40
- Joined: Tue Oct 30, 2018 10:49 am
Re: Logo disappears in HTML output upon window resizing
Hi all,
Thanks for the input everyone
Did the trick for us.
Best regards, Tanja
Thanks for the input everyone

Code: Select all
.wh_logo {
display: block !important;
}
Best regards, Tanja
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)
- ↳ 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