pigallery2
pigallery2 copied to clipboard
Custom HTML Head no longer working to use for custom CSS because of <Script> tags
Hi,
I was using the "Custom HTML Head" in previous versions of Pigallery2 to apply custom css. This no longer works because in the new version of Pigallery2 because there is a static added to whatever is put inside the "Custom HTML Head" and the browser will not understand
Possible solution would be to add another field called "Custom CSS" to the options page?
workaround for now is simply add
Hi, I had to wrap it within script tags because of some angular webpack issue (if I recall correctly). I'm sure there is a solution to that. Feel free to play around with it. I did not wanted to spend too much time on it as I feel this is not a heavily used feature.
In #587 I plan to finally work on a dark theme, that will also allow creating custom themes, adding custom css code