A common workaround for default style sheet is to save a new one as the name "Default", but it seems to behave differently than I would think in this case: On the top menubar select "Edit" > "Style Sheets" bringing up a "Select HTML Style Sheet" DialogClick the "New" button, and type "Default" in the name field, select "CSS" from the template pick list, and click "OK"Now you have two "Default" in the list, so delete the old one. When printing (Ctl+P or whatever) it will automatically pick up the new style sheet. The thing I noticed is this doesn't work, the new "Default" is based on "Plain" not "CSS" (bug?) Something that worked for me was to directly edit the "stylesheets-2.0" file with GnuCash closed, then open GnuCash. This is probably not the right way, and it seems that now my changes to the "Select HTML Style Sheet" Dialog don't stick when closing and reopening my GnuCash, until I can figure out why it might be best to avoid. But just in case.. I'm using Linux Mint, so the storage location may be different ( https://wiki.gnucash.org/wiki/Configuration_Locations) in a different OS, but here the file in question is in my home directory ~/.local/share/gnucash/stylesheets-2.0"I closed GnuCash and then opened it in a text editor and changed the words "CSS-based stylesheet (experimental)" to "Default" and then changed the other instance of "Default" to "Test". After opening GnuCash it was my default stylesheet. Bob
On Sat, 2021-06-26 at 13:32 -0400, James Bicknell wrote: > I've been wondering how to do this for some time, now: > When I print a report, I much prefer the CSS Stylesheet > (experimental)option for all the reports I use. > I can't seem to find any way to make that the default so I don't have > tochange every report I run. > Exception: saved reports have that set before I save them, so I don't > haveto "fix" them. > Example: Pull up an invoice -> print invoice -> scowl in disgust at > theformat -> options -> General -> Stylesheet -> select CSS-based > stylesheet(experimental) -> Apply/OK -> much better. > Any way to eliminate all that select-trauma? > [image: image.png]Just in case the image above doesn't work: > GnuCashVersion: 4.2Build ID: 4.2+(2020-09-26)Finance::Quote: - > OS:NAME="Ubuntu"VERSION="20.04.2 LTS (Focal > Fossa)"ID=ubuntuID_LIKE=debianFrank > Bicknell_______________________________________________gnucash-user > mailing listgnucash-u...@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.-- > ---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 If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.