Problem with the new 7.4 release - re fonts.

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Jamie Bodley-Scott
Posts: 56
Joined: Mon Sep 21, 2015 11:25 am

Problem with the new 7.4 release - re fonts.

Unread post by Jamie Bodley-Scott »

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.
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Problem with the new 7.4 release - re fonts.

Unread post by Tim Green »

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. 8)
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.
Jamie Bodley-Scott
Posts: 56
Joined: Mon Sep 21, 2015 11:25 am

Re: Problem with the new 7.4 release - re fonts.

Unread post by Jamie Bodley-Scott »

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.
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Problem with the new 7.4 release - re fonts.

Unread post by Tim Green »

Jamie Bodley-Scott wrote:Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.
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:

Code: Select all

font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
Is it possible that you didn't clear the browser cache before testing after changing it, or didn't uploade all files? Please check the actual CSS files in your output folder. Also note that you only need to use the quotes at all if the font name contains a space.
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.
Jamie Bodley-Scott
Posts: 56
Joined: Mon Sep 21, 2015 11:25 am

Re: Problem with the new 7.4 release - re fonts.

Unread post by Jamie Bodley-Scott »

Here is the css from index_desktop.
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.
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Problem with the new 7.4 release - re fonts.

Unread post by Tim Green »

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.
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.
Post Reply