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?
Announcement
Collapse
No announcement yet.
Custom CSS
Collapse
X
-
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
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
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
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
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
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
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
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
- 2 likes
Comment
-
Hi Paul,
Yes, the file will cache. If you want, you can update your site to use the CSS Resources built in and not have to rely on the PHP file. You can start with the instruction for Suivant [ https://www.miva.com/forums/forum/de...te-for-suivant ]Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
Comment