• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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
719
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 16 Jul 2022, 18:28

    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?

    D 1 Reply Last reply 20 Jul 2022, 13:04 Reply Quote 0
    • D
      dan @dhait
      last edited by 20 Jul 2022, 13:04

      @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
      1 out of 2
      • First post
        1/2
        Last post