FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    What is the base CSS used by the default theme?

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dhait
      last edited by

      We'd like to make some minor tweaks to the appearance of pages with our theme. FusionAuth appears to have a complete set of CSS classes, and we might only want to do some overrides to them, instead of starting from scratch and modifying every template.

      Where could we find the CSS that you use for your default templates so we can add our own CSS to it?

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @dhait
        last edited by

        @dhait

        You should copy the default theme (which is immutable) and then modify the CSS file.

        https://fusionauth.io/docs/v1/tech/themes/#templates has some documentation:

        Stylesheet (CSS) Optional
        
            This CSS stylesheet may be used to style the themed pages.
        
            This CSS will be included in the head tag in the Helpers head macro. You may also choose to include other remote stylesheets by using the <style> tag within the head macro. 
        

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post