johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.43k stars 296 forks source link

User stylesheet not working #1327

Closed paul1149 closed 5 months ago

paul1149 commented 6 months ago

Version:

I created a user-stylesheet.css at /user/.local/share/com.github.johnfactotum.Foliate because that is where I found the foliate hierarchy. The file is simple:

p span.redletter    { color: #baa586 !important }
p   {background: blue !important }
h1  {color: red !important }

Yet it's not hitting anything.

I then created a hierarchy and copied the css file to /user/.config/com.github.johnfactotum.Foliate since that is where the wiki says it should reside.

Still nothing.

I restarted Foliate after each .css change. Not sure if there's something obvious that I'm missing.

Thanks.

johnfactotum commented 6 months ago

You're using v2.6.4, which doesn't have this feature. User stylesheet support was added in v3.0.0 (efc2dd4be4aeebf35475708ca6d182dee2e21eb1).

paul1149 commented 6 months ago

A ha. That would certainly explain it. I'll see if I can figure out a manual install. Or worst case I can access the flatpak. Thank you.