The FOSSBilling Forum Development Development - General Modify the huraga template, in CSS without perishing in the attempt

Modify the huraga template, in CSS without perishing in the attempt

Modify the huraga template, in CSS without perishing in the attempt

 
  • 1 Vote(s) - 5 Average
 
bigmike
Junior Member

4
01-01-2025, 11:49 PM #6
(01-01-2025, 09:52 PM)BelleNottelling The CSS for our default themes are built with webpack and can't be modified after the fact.
There's content integrity hashes that we actually can't remove and are forced by a dependency, so any change to them will cause that hash to be broken.
Even if we could remove that, any direct changes would be lost the moment you updated.

You can create a custom default_layout template (in a html_custom folder as described here at item #1) and then replace the default CSS inclusion with your own

The line that includes our default CSS:
Code:

{{ encore_entry_link_tags('huraga') }}

You could also split huraga off into your own theme, or if these are changes which would be widely applicable you can modify the source code directly and submit a pull request to get them shipped within FOSSBilling.
The relevant source files are here:
https://github.com/FOSSBilling/FOSSBilli...aga/assets.

There's also paid themes which from my understand work by being injected into the existing theme, though I can't personally comment on the quality of this, I just know it exists.
https://www.zomex.com/products/fossbilling-templates/

X2, Really thanks
bigmike
01-01-2025, 11:49 PM #6

(01-01-2025, 09:52 PM)BelleNottelling The CSS for our default themes are built with webpack and can't be modified after the fact.
There's content integrity hashes that we actually can't remove and are forced by a dependency, so any change to them will cause that hash to be broken.
Even if we could remove that, any direct changes would be lost the moment you updated.

You can create a custom default_layout template (in a html_custom folder as described here at item #1) and then replace the default CSS inclusion with your own

The line that includes our default CSS:
Code:

{{ encore_entry_link_tags('huraga') }}

You could also split huraga off into your own theme, or if these are changes which would be widely applicable you can modify the source code directly and submit a pull request to get them shipped within FOSSBilling.
The relevant source files are here:
https://github.com/FOSSBilling/FOSSBilli...aga/assets.

There's also paid themes which from my understand work by being injected into the existing theme, though I can't personally comment on the quality of this, I just know it exists.
https://www.zomex.com/products/fossbilling-templates/

X2, Really thanks

 
  • 1 Vote(s) - 5 Average

Messages In This Thread
Modify the huraga template, in CSS without perishing in the attempt - by dev_1239 - 12-30-2024, 06:30 PM
RE: Modify the huraga template, in CSS without perishing in the attempt - by bigmike - 12-30-2024, 06:39 PM
RE: Modify the huraga template, in CSS without perishing in the attempt - by dev_1239 - 12-31-2024, 04:53 AM
RE: Modify the huraga template, in CSS without perishing in the attempt - by BelleNottelling - 01-01-2025, 09:52 PM
RE: Modify the huraga template, in CSS without perishing in the attempt - by dev_1239 - 01-01-2025, 11:42 PM
RE: Modify the huraga template, in CSS without perishing in the attempt - by bigmike - 01-01-2025, 11:49 PM
RE: Modify the huraga template, in CSS without perishing in the attempt - by peter23 - 01-07-2025, 09:39 PM
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)