Announcement

Collapse
No announcement yet.

Custom CSS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom CSS

    I am using Miva 9, Iron and Wool Theme. What is the best method for customizing the css? I know I can get into the core css via control panel, or ftp, but is there a way to have a custom css file that would override certain elements? Is it in the User Interface->CSS Resources?

  • Iron & Wool does not utilize the CSS Resources in the administration portal for the CSS delivered to the site. You can add a custom stylesheet using CSS Resources and append it to the HEAD tag or add a custom stylesheet to the site via FTP and update the PHP code to include it for delivery with the rest of the files.
    Matt Zimmermann
    Director of UI/UX Standards and Theme Development
    / Miva, Inc.

    Comment


    • Thank you for the reply.. I have attempted the second option, and have not seen the changes take effect.. I created a custom.css file, uploaded to the css file on the server. In the css.php, i added custom.css to the $files_to_cache = array. Is this correct?

      Comment


      • Yes, so long as the file was uploaded to the mm5/themes/ironwool/css directory and your modification to the css.php file was in the $files_to_cache array, you should see your changed reflected on your site.
        Code:
            $files_to_cache = array(
                'normalize.css',
                'base.css',
                'scaffolding.css',
                'typography.css',
                'buttons.css',
                'fonts.css',
                'forms.css',
                'tables.css',
                'colors.css',
                'slider.css',
                'magnific-popup.css',
                'helpers.css',
                'structure.css',
                'pages.css',
                'theme.css',
                'custom.css',
                'print.css'
            );
        Matt Zimmermann
        Director of UI/UX Standards and Theme Development
        / Miva, Inc.

        Comment


        • OK, but I don't have that path option.. There is no themes file.. Only frameworks that leads to a ironwool-readytheme.pkg.

          Comment


          • In that case, if the custom.css file is in the same directory as the rest of the CSS files, the example $files_to_cache above should still work.
            Matt Zimmermann
            Director of UI/UX Standards and Theme Development
            / Miva, Inc.

            Comment


            • Changing the topic just slightly, what's all this about a PHP file being part of Merchant? I asked about that some time ago, and was told by someone in-house that Merchant didn't use any PHP code, even though the file was right there on the servers ... What does this file do, and when is it called? Is there any documentation?

              Thanks --
              Kent Multer
              Magic Metal Productions
              http://TheMagicM.com
              * Web developer/designer
              * E-commerce and Miva
              * Author, The Official Miva Web Scripting Book -- available on-line:
              http://www.amazon.com/exec/obidos/IS...icmetalproducA

              Comment


              • Hi Kent,

                In the older ReadyThemes, there is a PHP file used to concatenate and minimize the style sheets and deliver a single file. There is no documentation on the file or its functionality. For the Elements Framework, and the ReadyThemes created from it, there is no file being used to perform this function. The Shadows ReadyTheme does ship with an internal version of a concatenation function, however we are working on a better version for future releases.
                Matt Zimmermann
                Director of UI/UX Standards and Theme Development
                / Miva, Inc.

                Comment

                Working...
                X

                This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

                This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

                Accept