Changing Preview Font
I've taken the sample CSS that was posted and attempted to modify it to use Arial in the preview rather than Times. But nothing changes.
I'm no CSS expert but I've had success tweaking the CSS in my epubs so I don't know if I'm approaching it wrong or it's not working right.
- Sample.css 4.73 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Fletcher on 16 Aug, 2017 09:18 PM
1) That's not CSS.
2) That was a stylesheet for v2 of Composer. v3 and v4 use different formats.
3) v4 themes are for the editor. Preview uses CSS.
2 Posted by essin on 16 Aug, 2017 09:44 PM
You're right. It looked like json to me but I figured what the heck...
Since then I've edited the pretentious.css and changed the font-family
references tp Helvetica and the font references from Palatino to Arial
but nothing changed. I'm obviously go about this the wrong way.
Support Staff 3 Posted by Fletcher on 16 Aug, 2017 09:45 PM
Send me what you've got and I'll take a look.
4 Posted by essin on 16 Aug, 2017 10:13 PM
5 Posted by essin on 16 Aug, 2017 10:17 PM
Please ignore the last one. It was obsolete.
Support Staff 6 Posted by Fletcher on 16 Aug, 2017 11:38 PM
Your CSS file is incorrect -- one of the valid changes you made was to table captions, for example -- that does work properly in Composer.
You left the comma out before
serif
in several instances.7 Posted by essin on 17 Aug, 2017 02:42 AM
Thanks. I guess I'd better dig out my css book. I took out some commas that I thought were dangling because it hadn't worked with them in. I'll try again.
8 Posted by essin on 17 Aug, 2017 03:48 AM
Hi,
I've resolved the css syntax issues. This is what is happening now.
1 - setting the new css in the prefs doesn't seem to do anything. No
idea what is is supposed to do.
2 - If the preview is open and I use the view menu to select the new css
is displays fine.
3 - if I close the preview and reopen it, even though the view is still
set to the new css, the display reverts to 'basic' even though the
preview menu item remains set to the new css.
4 - if I click the new css entry again, even though it's checked, the
display changes and is rendered by the new css.
Thanks,
Dan
9 Posted by essin on 17 Aug, 2017 03:54 AM
fyi - the issues with the preview window blanking does not occur since
the last update.
Support Staff 10 Posted by Fletcher on 17 Aug, 2017 01:54 PM
Re: your secondary questions:
1) CSS preferences -- Default CSS for new windows, just like default theme.
3) It uses the default CSS for new windows, not the last selected. This behavior is the same as that for editor themes. Additionally, it remembers what you previously used for saved documents.
11 Posted by essin on 17 Aug, 2017 03:02 PM
Thanks
12 Posted by essin on 17 Aug, 2017 04:55 PM
Hi Fletcher,
I've noticed that when the new version opens it starts out very small.
It is supposed to remember its previous size? Is this small effect what
you intended?
Dan
Support Staff 13 Posted by Fletcher on 17 Aug, 2017 05:47 PM
Make sure to update, but it does remember previous sizes.
Once you resize and save a document, it's size and position will remembered. Same for new untitled documents, but have to close the untitled document to reset the "default" position to whatever you desire
14 Posted by essin on 17 Aug, 2017 06:50 PM
I preparing to test that but it has been "Updating" for an hour now with
no end in sight.
15 Posted by essin on 17 Aug, 2017 06:55 PM
I quit downloaded Smart Editor-4.0(8) again, started update again and got
16 Posted by essin on 17 Aug, 2017 06:57 PM
Tried another way. It is hanging on the install and relaunch, not on the
download.
-------- Forwarded Message --------
Subject: more...
Date: Thu, 17 Aug 2017 11:55:09 -0700
From: Daniel Essin <[email blocked]>
To: Fletcher <[email blocked]>
I quit downloaded Smart Editor-4.0(8) again, started update again and got
Support Staff 17 Posted by Fletcher on 17 Aug, 2017 06:58 PM
See other threads -- after to install manually. Sparkle doesn't work with sandboxed apps...
Fletcher closed this discussion on 17 Aug, 2017 08:40 PM.