Hello,
Can you let me know how I can hide the TOC Header that contains the help file title. We don't need that here.
Let me know
Dave
Hiding TOC Header
Moderators: Alexander Halser, Tim Green
Hiding TOC Header
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23184
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Hiding TOC Header
If you absolutely must, then edit hmwebhelp_toc.css and locate this code at line 108:
Code: Select all
p.tocProjectTitle {
font-family: <%PROJECTTITLE_FONT%>;
text-align: center;
font-size: <%PROJECTTITLE_SIZE%>rem;
color: <%PROJECTTITLE_COLOR%>;
padding-left: calc(<%HEADERLOGO_MOBILE_SIZE%>rem + 5px);
}
Code: Select all
p.tocProjectTitle {
display: none;
font-family: <%PROJECTTITLE_FONT%>;
text-align: center;
font-size: <%PROJECTTITLE_SIZE%>rem;
color: <%PROJECTTITLE_COLOR%>;
padding-left: calc(<%HEADERLOGO_MOBILE_SIZE%>rem + 5px);
}
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: Hiding TOC Header
Hi Tim,
Thanks so much for the quick help.
Dave
Thanks so much for the quick help.
Yes, I understand this. But we really do appreciate your willingness to help us make minor tweaks so we can customize the layout to our current web site standards. Such great support.
Dave
Re: Hiding TOC Header
Hi Tim,
So my managers decided they want the project title, so I removed the "display: none;" and modified the font size, color, face by editing the variables in the Toolbox.
However, we'd like the Project Title to align to the left, which I thought would be easy by changing "text-align: center;" to "text-align: left;" in the baggage file. Is this not the correct setting? Or is something else preventing the Project Title from changing it's alignment?
p.tocProjectTitle {
font-family: <%PROJECTTITLE_FONT%>;
text-align: left;
font-size: <%PROJECTTITLE_SIZE%>rem;
color: <%PROJECTTITLE_COLOR%>;
padding-left: calc(<%HEADERLOGO_MOBILE_SIZE%>rem + 5px);
Dave
So my managers decided they want the project title, so I removed the "display: none;" and modified the font size, color, face by editing the variables in the Toolbox.
However, we'd like the Project Title to align to the left, which I thought would be easy by changing "text-align: center;" to "text-align: left;" in the baggage file. Is this not the correct setting? Or is something else preventing the Project Title from changing it's alignment?
p.tocProjectTitle {
font-family: <%PROJECTTITLE_FONT%>;
text-align: left;
font-size: <%PROJECTTITLE_SIZE%>rem;
color: <%PROJECTTITLE_COLOR%>;
padding-left: calc(<%HEADERLOGO_MOBILE_SIZE%>rem + 5px);
Dave
- Tim Green
- Site Admin
- Posts: 23184
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Hiding TOC Header
Hi Dave,
It switches dynamically between centered and not centered when the width of the window changes (i.e. on phones). If you want to have the title not centered in normal desktop mode, you just need to add !important to the text align value to override the dynamic centering:
It won't look so good in this layout, but that is up to you.
It switches dynamically between centered and not centered when the width of the window changes (i.e. on phones). If you want to have the title not centered in normal desktop mode, you just need to add !important to the text align value to override the dynamic centering:
Code: Select all
text-align: left !important;
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.