CustomCSSforFx icon indicating copy to clipboard operation
CustomCSSforFx copied to clipboard

my_userChrome.css not working after update to version 4.5.4

Open ChasCB opened this issue 1 year ago • 2 comments

Installed the latest version 4.5.4 after using the previous version 4.4.7 since its release.

I have selected all the same @import files as in version 4.4.7 but now find that my own my_userChrome.css not longer operates.

As soon as I switch back to version 4.4.7 all is good again.

ChasCB avatar Jun 27 '24 00:06 ChasCB

Nothing changed for my_userChrome.css inside userChrome.css file for ages.

image

Aris-t2 avatar Jun 27 '24 16:06 Aris-t2

Thank you Aris, all good now. I shouldn't jump to quick.

It took me hours going through my code for the latest release and I finally found the errors. It was a missing closure */ and a miss spelling of a css file after editing because after all these years I have finally edited out all the unwanted code in your release as well as deleting all the unwanted css files. ☹️🤪

Question: Is it advisable to create my own css files from my own my_userChrome code and then merge those new files into your package and do away with my own my_userChrome. Of course I would need to prefix them with: @import "./css/own/*********.css"; // I would place this code into a *separate area of your code. LABELLED OWN CODE

ChasCB avatar Jun 27 '24 23:06 ChasCB

Its up to you. Both works.

You can put your code inside userChrome.css, my_userChrome.css or inside a different file (folder/drive) and link to it.

This is helpful, if you want run tests with different Firefox versions/setups.

@import "file:///H:/CSS/userChrome.css";

Aris-t2 avatar Jul 26 '24 11:07 Aris-t2