How can I load a stylesheet globally?

Discussion in 'Tips and tricks' started by Jose Vega, Aug 13, 2015.

  1. Jose Vega

    Jose Vega Member

    Joined:
    May 19, 2015
    Messages:
    59
    Likes Received:
    9
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    I want to load a css file in all the pages, including the back-end, customer back-end, and public pages.

    What is the recommended way to do it without modifying core files?
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,286
    Likes Received:
    2,389
    @Jose Vega - Just add a file named style-custom.css inside backend|customer|frontend/assets/css :)
     
    Jaxon likes this.
  3. Jose Vega

    Jose Vega Member

    Joined:
    May 19, 2015
    Messages:
    59
    Likes Received:
    9
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    @twisted1919 Wow, so easy and simple. I thought I needed to create an extension or something like that. Thank you.
     

Share This Page