Removing fuel_inline.css

edited June 2016 in Modules
Is it possible to remove the fuel_inline.css? We're using Foundation 6 and they clash a little. So we'd like to write our own styles for it, but I haven't found a way to not include it in the page.

Comments

  • edited 3:17PM
    Not without hacking the core Fuel_pages::fuelify() method around line 1214ish.

    Perhaps you could use javascript to remove the stylesheet:
    http://stackoverflow.com/questions/5033650/how-to-dynamically-remove-a-stylesheet-from-the-current-page

    Their is a is_fuelified() php function you can use to test if a user is logged in to the system which triggers the loading of that stylesheet to begin with.
  • edited 3:17PM
    Could you just remove the contents of that file or is it the filename that clashes?
  • edited July 2016
    It's the styling. We already thought about that, but we want to be able to upgrade Fuel easily without having to go back and modify any of the core. Once you start "customizing" the core it makes upgrading a little more difficult.

    Probably the best thing to do, for now, is to remove it via JS.
Sign In or Register to comment.