We are using a hmskin file that has some Text Variables. We have the variable UIFONT_DESKTOP of type text with the value "Lato", sans-serif.
This variable is used in CSS files, like this:
font-family: <%UIFONT_DESKTOP%>;
When publishing the manual, above line of CSS is rendered as:
font-family: "Lato", sans-serif;
which is invalid CSS, and that line is ignored.
In previous versions, it was rendered as:
font-family: "Lato", sans-serif;
which works as expected.
If we do not use a text variable, and enter the value (with quotation marks) directly into the CSS file, there is no issue. So something seems to go wrong when the variables are replaces with values.
Problem with the new 7.4 release - re fonts.
Moderators: Alexander Halser, Tim Green
-
- Posts: 56
- Joined: Mon Sep 21, 2015 11:25 am
- Tim Green
- Site Admin
- Posts: 23184
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem with the new 7.4 release - re fonts.
Hi Jamie,
Nothing has changed. The only problem is that you are using double quotes instead of single quotes in your font family. Using double quotes in 7.3 would have caused the same issue. If you replace the double quotes in the font family text with single quotes you won't have this issue.
Nothing has changed. The only problem is that you are using double quotes instead of single quotes in your font family. Using double quotes in 7.3 would have caused the same issue. If you replace the double quotes in the font family text with single quotes you won't have this issue.
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.
-
- Posts: 56
- Joined: Mon Sep 21, 2015 11:25 am
Re: Problem with the new 7.4 release - re fonts.
Thanks Tim
Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.
It ONLY applies to the left side navigation menus (all 3).
The content on the right side uses the correct fonts.
And this only applies to 7.4 not 7.3.
Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.
It ONLY applies to the left side navigation menus (all 3).
The content on the right side uses the correct fonts.
And this only applies to 7.4 not 7.3.
- Tim Green
- Site Admin
- Posts: 23184
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem with the new 7.4 release - re fonts.
I just double-checked this and it is definitely working OK. If I use single quotes I get this in all the CSS files, correctly:Jamie Bodley-Scott wrote:Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.
Code: Select all
font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
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.
-
- Posts: 56
- Joined: Mon Sep 21, 2015 11:25 am
Re: Problem with the new 7.4 release - re fonts.
Here is the css from index_desktop.
And all variables relating to fonts now have the value (no quotes at all):
Lato, sans-serif
And all variables relating to fonts now have the value (no quotes at all):
Lato, sans-serif
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: Problem with the new 7.4 release - re fonts.
Hi Jamie,
Is it possible that you edited the CSS file in the output and then loaded it back into the skin? (Just covering all possibilities here.) Before doing anything else, please try with a completely unedited skin from the original folder. If you continue to have problems please mail me the skin you are using at support AT ec-software.com (replace the AT with @) and I'll check it for you.
Is it possible that you edited the CSS file in the output and then loaded it back into the skin? (Just covering all possibilities here.) Before doing anything else, please try with a completely unedited skin from the original folder. If you continue to have problems please mail me the skin you are using at support AT ec-software.com (replace the AT with @) and I'll check it for you.
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.