V5 Minimal Modern ewriter skin: Modify
Moderators: Alexander Halser, Tim Green
V5 Minimal Modern ewriter skin: Modify
Hello,
How can I modify the Font and Font size of the TOC entries?
How can I modify the side margin of a topic text in the skin? I would like to make it equal to the top margin (TOPIC_TOPMARGIN).
Is it in the skin or in the project? I know there are the export settings for Webhelp. Are they completely overridden by the skin?
Thank you!
How can I modify the Font and Font size of the TOC entries?
How can I modify the side margin of a topic text in the skin? I would like to make it equal to the top margin (TOPIC_TOPMARGIN).
Is it in the skin or in the project? I know there are the export settings for Webhelp. Are they completely overridden by the skin?
Thank you!
Re: V5 Minimal Modern ewriter skin: Modify
Some more questions:
How do I modify the breadcrumb font size?
How do I modify the header menue font size?
How do I modify the breadcrumb font size?
How do I modify the header menue font size?
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V5 Minimal Modern ewriter skin: Modify
This isn't recommended because the font size has been fine tuned for the layout and to work at all screen resolutions. This is also why there is no dedicated configuration setting for it. If you absolutely must set your own mark on it you need to edit the hmwebhelp_toc_desktop.css file for eWriter, and also the _tablet.css and _phone.css versions in the WebHelp version. The font size for the TOC tree is in:How can I modify the Font and Font size of the TOC entries?
Code: Select all
/* TOC LIST CSS */
div#hmtoctree {
position: relative;
left: 0; right: 0; bottom: 0;
font-size: 0.950rem;
}The project never contains layout settings when a skin is used. This is also why the topic editor has no margins etc., because the text must be inserted into the different templates for each different output format.How can I modify the side margin of a topic text in the skin? I would like to make it equal to the top margin (TOPIC_TOPMARGIN). Is it in the skin or in the project? I know there are the export settings for Webhelp. Are they completely overridden by the skin?
You can adjust the margin in the hmwebhelp_main_desktop.css file (and the _phone and _tablet versions for WebHelp). Locate this piece of code:
Code: Select all
div#hmpagebody_scroller {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
padding: <%TOPIC_TOPMARGIN%>rem 0.5rem 0.313rem 1.0rem;
overflow-y: scroll;
overflow-x: auto;
}If you absolutely must do this, locate the p.topic_breadcrumbs rule in the hmwebhelp_main_xxx.css files and change the font size there. Again, not recommended.How do I modify the breadcrumb font size?
This is in the div#header_menu rule in the hmwebhelp_main_xxx.css files. Here too, not recommended, but it's up to you.How do I modify the header menue font size?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V5 Minimal Modern ewriter skin: Modify
PS, a helpful tip:
In any modern browser, you can easily locate the CSS by displaying the WebHelp version. Then right-click in the text you want to reformat and select "inspect" in the context menu. This will display the developer console, and if you select the Elements tab you will see the live HTML (which is usually different from the HTML in the file) and the CSS that formats it on the right, along with the name of the CSS file. You can make live changes directly in the CSS there to see the immediate results.
Important: In many cases, the formatting will be controlled by a container tag, not the actual tag where the text you are looking at is located. So you need to move up the tree a little until you find the relevant settings.
In any modern browser, you can easily locate the CSS by displaying the WebHelp version. Then right-click in the text you want to reformat and select "inspect" in the context menu. This will display the developer console, and if you select the Elements tab you will see the live HTML (which is usually different from the HTML in the file) and the CSS that formats it on the right, along with the name of the CSS file. You can make live changes directly in the CSS there to see the immediate results.
Important: In many cases, the formatting will be controlled by a container tag, not the actual tag where the text you are looking at is located. So you need to move up the tree a little until you find the relevant settings.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: V5 Minimal Modern ewriter skin: Modify
Thank you for the helpful hint! In my case with only ewriter skins I am looking forward to the new release of universal skins (webhelp and ewriter).Tim Green wrote: Tue Dec 09, 2025 9:57 am PS, a helpful tip:
In any modern browser, you can easily locate the CSS by displaying the WebHelp version. Then right-click in the text you want to reformat and select "inspect" in the context menu. This will display the developer console, and if you select the Elements tab you will see the live HTML (which is usually different from the HTML in the file) and the CSS that formats it on the right, along with the name of the CSS file. You can make live changes directly in the CSS there to see the immediate results.
Important: In many cases, the formatting will be controlled by a container tag, not the actual tag where the text you are looking at is located. So you need to move up the tree a little until you find the relevant settings.
Re: V5 Minimal Modern ewriter skin: Modify
How can I customize the font and font-size of these buttons? On this helppage on the first image I see the variable DROPMENU_FONTSIZE_DESK, which is not available in the V5 Mininalist Modern ewriter skin.
Where is the option in the CSS file?
PS: There is no "Inspect" function in ewriter files, is there?
Where is the option in the CSS file?
PS: There is no "Inspect" function in ewriter files, is there?
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V5 Minimal Modern ewriter skin: Modify
Unfortunately no. But what you can do is turn off the "delete temporary files" option. Then you get the regular HTML source which you can open in a browser. You can then use Help+Manual's HM2GO mini web server to view it in server mode locally:BertholdL wrote: Thu Dec 11, 2025 4:41 pm PS: There is no "Inspect" function in ewriter files, is there?
https://www.helpandmanual.com/help/hm_w ... hm2go.html
However, the CSS and HTML of the WebHelp version is pretty much identical, and you can use that to learn about the CSS of the eWriter version.
The font and font size are controlled by the a.topicnavlink span rule at around line 572 in the desktop version of the hmwebhelp_main CSS file. The font is controlled by the <%UIFONT_DESKTOP%> variable, and if you redefine that it will change the UI font throughout the skin.
The icon dimensions are controlled by the a.topicnavlink svg.navicon rule directly below it. In both cases, making more than very minor changes can cause a cascading sequence of unintended consequences. Have fun.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: V5 Minimal Modern ewriter skin: Modify
Thank you for your help!
One more question:
In the header menu, is it possible to style the top entries with <%DROPMENU_BGCOLOR_TOP_ACTIVE%> not only while hovering, but also after clicking on them, so while hovering the sub-entries, the user always sees the top entry marked. I tried the pseudo-class :active, but without success.
One more question:
In the header menu, is it possible to style the top entries with <%DROPMENU_BGCOLOR_TOP_ACTIVE%> not only while hovering, but also after clicking on them, so while hovering the sub-entries, the user always sees the top entry marked. I tried the pseudo-class :active, but without success.
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V5 Minimal Modern ewriter skin: Modify
This is not supported.BertholdL wrote: Mon Dec 15, 2025 5:14 pm In the header menu, is it possible to style the top entries with <%DROPMENU_BGCOLOR_TOP_ACTIVE%> not only while hovering, but also after clicking on them, so while hovering the sub-entries, the user always sees the top entry marked. I tried the pseudo-class :active, but without success.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: V5 Minimal Modern ewriter skin: Modify
Is it possible to adjust the right and left padding between the header menue entries?
Or do I have to insert spaces in the menue entries to make it look like padding?
Thanks in advance!
Thanks in advance!
You do not have the required permissions to view the files attached to this post.
Re: V5 Minimal Modern ewriter skin: Modify
And another question:
Is there any possibility to align the logo to the center (vertically)? As of now, it is aligned to the top. I imagine that I can play with the upper padding of the header area, can I?
Is there any possibility to align the logo to the center (vertically)? As of now, it is aligned to the top. I imagine that I can play with the upper padding of the header area, can I?
You do not have the required permissions to view the files attached to this post.
Re: V5 Minimal Modern ewriter skin: Modify
I just found this in the hmwebhelp_main_desktop.css: I suppose this is the solution, I will test it.BertholdL wrote: Tue Dec 30, 2025 11:47 am And another question:
Is there any possibility to align the logo to the center (vertically)?
Logo.png
As of now, it is aligned to the top. I imagine that I can play with the upper padding of the header area, can I?
So there is only one open question left (vertical space between header menue entries).
EDIT:
After test: It works, the vertical position of the logo can be adjusted. But with one collateral damage: The little logo for mobile screens is affected as well, and as the 2 logos have different height, I cannot align both of them to the centre, at least not the way I showed it in this post. Is there any way to tell the skin to align both logos to the centre (vertically)?
You do not have the required permissions to view the files attached to this post.
Last edited by BertholdL on Tue Dec 30, 2025 1:55 pm, edited 1 time in total.
Re: V5 Minimal Modern ewriter skin: Modify
In your own documentation you have something similar to what I need: The Resources menue is marked as open. Can I add this to the header menue in V5 eweriter skins? Or will something like this be part of the new release of the PP skins?Tim Green wrote: Wed Dec 17, 2025 8:34 amThis is not supported.BertholdL wrote: Mon Dec 15, 2025 5:14 pm In the header menu, is it possible to style the top entries with <%DROPMENU_BGCOLOR_TOP_ACTIVE%> not only while hovering, but also after clicking on them, so while hovering the sub-entries, the user always sees the top entry marked. I tried the pseudo-class :active, but without success.
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: V5 Minimal Modern ewriter skin: Modify
That is a different custom menu system available in some of the skins. See the documentation on the menu systems in each individual skin group. In version 6 you will be able to use any skin for both WebHelp and eWriter (except the CHM skins, of course, which are completely different).The Resources menue is marked as open. Can I add this to the header menue in V5 eweriter skins? Or will something like this be part of the new release of the PP skins?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: V5 Minimal Modern ewriter skin: Modify
Tim, thank you for your e-mail answer. If anyone is interested:BertholdL wrote: Tue Dec 30, 2025 12:37 pm
EDIT:
After test: It works, the vertical position of the logo can be adjusted. But with one collateral damage: The little logo for mobile screens is affected as well, and as the 2 logos have different height, I cannot align both of them to the centre, at least not the way I showed it in this post. Is there any way to tell the skin to align both logos to the centre (vertically)?
In the hmwebhelp_main_desktop.css adjust the value for the narrow screen version:
Code: Select all
@media only screen and (max-width: 40rem) {
div#header_menu {
display: none !important;
}
a#headerlogo {
width: 5rem; height: 94%;
background-image: url('../images/<%HEADERLOGO_MOBILE%>');
top: Xrem;
}
}