Happy to help, I'm glad you got it working! On Wed, Dec 21, 2022 at 3:16 PM TERRENCE BRANSCOMBE <tlbransco...@shaw.ca> wrote:
> Hi, Glenn. > > Progress! > > Thanks for your question regarding the contents of my gtk-3.0.css file. > As it happens, I was using a sample file I pulled from (the Wiki?) that > contained several lines like this: > > .gnc-class-user-xxxxx { property: value } > .gnc-class-user-yyyyy { property: value } > ... > > From what I could tell, none of the property: value pairs worked on my > system. > > However, once I removed them, leaving the file with just the one setting, > gnucash reflected the new font setting! Here's what worked (for me): > > * { > font: 18pt "Microsoft Consolas"; > } > > Thank you for the tip! > > Terry > > ------------------------------ > *From: *"Glenn Fowler" <gfowl...@outlook.com> > *To: *"TERRENCE BRANSCOMBE" <tlbransco...@shaw.ca> > *Cc: *"GnuCash users group" <gnucash-user@gnucash.org> > *Sent: *Wednesday, December 21, 2022 6:27:09 AM > *Subject: *Re: [GNC] Changing typeface using CSS (Windows 10) > > Is there anything else in your gtk-3.0.css file? Also, mouse over it and > make sure it says "Type: CSS file" > > On Wed, Dec 21, 2022 at 12:15 AM TERRENCE BRANSCOMBE <tlbransco...@shaw.ca> > wrote: > >> Yeah, had precisely what you had in your screenshot. >> >> Here is what is now in my gtk-3.0.css file: >> >> /* Application wide font setting */ >> * { >> font: 18px Microsoft Consolas; >> } >> >> No visible result, I'm afraid. >> >> Cheers, >> Terry >> >> ------------------------------ >> *From: *"Glenn Fowler" <gfowl...@outlook.com> >> *To: *"TERRENCE BRANSCOMBE" <tlbransco...@shaw.ca> >> *Cc: *"GnuCash users group" <gnucash-user@gnucash.org> >> *Sent: *Tuesday, December 20, 2022 6:18:54 PM >> *Subject: *Re: [GNC] Changing typeface using CSS (Windows 10) >> >> It would be the "Roaming" folder. There is probably a syntax error. Just >> copy/paste the whole thing, save, and restart GnuCash. >> >> >> On Tue, Dec 20, 2022 at 2:34 PM TERRENCE BRANSCOMBE <tlbransco...@shaw.ca> >> wrote: >> >>> Thanks for the suggestion, Glenn. >>> >>> I tried this in both the "Roaming" and the "Local" versions of the >>> gtk-3.0.css file; but, neither had any effect on the typeface I see. >>> >>> Also, I did see you used "24px" whereas I had "24pt" originally, so I >>> went with your suggestion. >>> >>> Terry >>> >>> ------------------------------ >>> *From: *"Glenn Fowler" <gfowl...@outlook.com> >>> *To: *"TERRENCE BRANSCOMBE" <tlbransco...@shaw.ca> >>> *Cc: *"gnucash-user" <gnucash-user@gnucash.org> >>> *Sent: *Monday, December 19, 2022 3:43:07 PM >>> *Subject: *Re: [GNC] Changing typeface using CSS (Windows 10) >>> >>> This should work: >>> >>> /* Application wide font setting */ >>> >>> * { >>> font: 24px Microsoft Calibri; >>> } >>> >>> On Mon, Dec 19, 2022 at 6:33 PM TERRENCE BRANSCOMBE < >>> tlbransco...@shaw.ca> wrote: >>> >>>> Hello all, >>>> >>>> I've been a user for all of 2 weeks, so I apologize to everyone if this >>>> question/subject has been beaten to death in the past. My research online >>>> has not resulted in a fix, though, so I'd like to ask: has anyone running >>>> gnucash 4.12 or 4.13 on Windows 10 managed to change font families using >>>> CSS ? The documentation I've found on the subject suggests Windows users >>>> can change typefaces using CSS by editing the file >>>> GNC_CONFIG_HOME/gtk-3.0.css by adding a section like this : >>>> >>>> /* Application wide font setting */ >>>> gnc-id-main-window { >>>> font-family: Microsoft Calibri; >>>> font-size: 24pt; >>>> } >>>> >>>> Following these directions I edited the file gtk-3.0.css in the folder >>>> C:\Users\<username>\AppData\Roaming\GnuCash with the setting shown above; >>>> but, upon restarting gnucash I see absolutely no font change whatsoever. >>>> For grins, I copied this file to the AppData\Local\GnuCash directory as >>>> well, and again restarted gnucash. Sadly, same non-result. >>>> >>>> Any hints greatly appreciated, >>>> >>>> Terry >>>> _______________________________________________ >>>> gnucash-user mailing list >>>> gnucash-user@gnucash.org >>>> To update your subscription preferences or to unsubscribe: >>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user >>>> ----- >>>> Please remember to CC this list on all your replies. >>>> You can do this by using Reply-To-List or Reply-All. >>>> >>> > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.