where to put custom css file without to be overridden on each update?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ruslan
    Senior Member
    • Aug 2014
    • 102

    where to put custom css file without to be overridden on each update?

    Hi,
    i want to create new css file "rtl" so the espocrm will fit to work with rtl.
    the question is where i need to put the rtl.css file to not be overridden on each update?
    ​the other question is where i call this rtl.css (without to be overridden on each update)?

    the same question will be for custom JS files (for each page)?

    Thanks
  • yuri
    Member
    • Mar 2014
    • 8454

    #2
    Hi

    There is no such abilityprovided. But I believe there should exist some ways that allow to do it.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Ruslan
      Senior Member
      • Aug 2014
      • 102

      #3
      Hi Yuri,
      please provide this option. many users would like to make changes to css without losing all changes.

      Thanks

      Comment

      • webcrm
        Member
        • Aug 2014
        • 46

        #4
        A highly desirable and required feature. A better option is to provide a setting to accept the URL of the custom CSS file that could reside outside the installation folder (eg: a subdomain) so it never gets overwritten. Please let us know when this is implemented.

        TIA

        Comment

        • Ruslan
          Senior Member
          • Aug 2014
          • 102

          #5
          Hi Yuri,
          can you add this in the next update?

          Comment

          • Ruslan
            Senior Member
            • Aug 2014
            • 102

            #6
            when this will be available?

            Comment

            • yuri
              Member
              • Mar 2014
              • 8454

              #7
              We have a lot of work, issues, bugs. Have not prioritized this feature.
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • Ruslan
                Senior Member
                • Aug 2014
                • 102

                #8
                Hi,
                after espocrm have template support can you add support for custom css file in each template?

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8454

                  #9
                  You can create custom theme with own css.
                  If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                  Comment

                  • Ruslan
                    Senior Member
                    • Aug 2014
                    • 102

                    #10
                    Hi,
                    how can i create my own custom theme? witch folders/fiels i nedd to create?

                    Comment

                    • yuri
                      Member
                      • Mar 2014
                      • 8454

                      #11
                      1. search in file names and file contents with keyword "Sakura".
                      2. replicate for your new theme.
                      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                      Comment

                      • rinorway
                        Senior Member
                        • Feb 2016
                        • 179

                        #12
                        For what it's worth : I needed a different background color for the 'cases' panel:

                        - modified : htdocs/html/main.html
                        - added css : <link href="client/custom/css/custom.css" rel="stylesheet" id='custom-stylesheet'>
                        - custom.css : [data-name="cases"] .panel-heading { background: yellow;}


                        I think /client/custom may be a good location until further notice.

                        Comment

                        • c.binder
                          Junior Member
                          • Apr 2016
                          • 5

                          #13
                          When I put my custom css file into client/custom/css/ and the corresponding json file (with the reference to the custom css file) into custom/Espo/Custom/Resources/metadata/themes the colors are changed but the header buttons look quite strange.

                          Is something missing or is there a way to do this upgrade safe?

                          Comment

                          • yuri
                            Member
                            • Mar 2014
                            • 8454

                            #14
                            There is no ability to load css in custom. You can create new theme and select it.
                            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                            Comment

                            • eymen-elkum
                              Active Community Member
                              • Nov 2014
                              • 472

                              #15
                              CEO of Eblasoft
                              EspoCRM Expert since 2014
                              Full Stack Web Developer since 2008
                              Creator of Numerous Successful Extensions & Projects​

                              Comment

                              Working...