Page 1 of 1

Which way is correct for Phoenix

Posted: Fri Jul 10, 2026 3:20 pm
by Mort_Lemur
Just after a steer on which way is correct on Phoenix - I'm sure both ways work, but one is cleaner than the other.

What I'm doing is setting up the payment card option icons in the footer bar. I am using the usual Visa, Mastercard, PayPal, iPay and Google Pay and as I want them in color I am using css to generate the icons rather than using fontawesome ones.

So I have copied over the language file into the override folder and modified it to suit.

Now my question is: Should the css (approx 35 lines of it) be added to user.css or is it ok to leave it in the language file cm_footer_extra_icons.php?

Personally I would prefer the latter as it keeps all the code in one file and prevents my user.css becoming over-cluttered.

Re: Which way is correct for Phoenix

Posted: Fri Jul 10, 2026 3:26 pm
by burt
Whichever you prefer.

For lng file:
Your language file would not be abused by other addons, whereas the user.css might be.

For user.css:
All Css in one place

Re: Which way is correct for Phoenix

Posted: Fri Jul 10, 2026 3:33 pm
by Mort_Lemur
Well it seems to work in the language file, so that's where it will live :)