


NOTE: In order to add any images to the site, the image will need to be uploaded to the images folder on the application server before it can be added to the site and customized.Ħ. Make all desired style changes to the site in Stylizer. Correct any warnings by clicking Continue.ĥ. Click on each of the CSS files in the upper right hand corner that have a “Cleanser” icon next to them and then click Review Warnings to resolve any warnings provided (do the same for any that have errors as well).Ĥ. The site will appear in Stylizer, ready to be customized.ģ. Enter the URL for the Astra application website into the URL field and press Enter. Once Stylizer has been purchased and installed, Ad Astra recommends the following process for editing the application CSS:Ģ. Then when all is said and done, the CSS is saved right back to where it came from via FTP, SFTP, or a network share. Instead of loading CSS files directly, Stylizer just asks for a URL of the page you want to change. It automates things like Image Replacement, CSS positioning, clear fixes, CSS hacks (if you need them) and more. Stylizer is packaged with a range of handy tools that just don't exist elsewhere. Drag page elements around and adjust all your colors from the comfort of your editor, all in real-time. Stylizer sports a unique grid-like CSS editing interface that feeds your style sheet to an integrated browser of your choice, all in real time. Therefore, using a tool such as Stylizer is the recommended way to edit the style of your site in this case. NOTE: If you are a cloud customer, the CSS files are not directly accessible. Once changes have been made, this updated CSS file can be replaced on your web server or sent to an Ad Astra technician to replace in your cloud hosting environment. The tool copies the CSS file to your local machine and provides a WYSIWYG editing interface. This inexpensive tool makes CSS editing much simpler, and can be done remotely. To get started, just run the project, pick a theme, and start tweaking the core.scss and variables.scss for that theme.If you don't have someone available that can edit the style sheet (CSS) for your site directly, another option is to use a third party utility called Stylizer. Both projects rely on Bootstrap 4.0 SASS, though the same technique can be used with other frameworks. I have created two projects to make it easier to incorporate an interactive style guide into an Angular or React project.

Note: Of course, the style guide should always be hidden or removed as part of any production build process. Any components that are not used can easily be commented out to avoid excess bulk. Since it is directly incorprated into the site, any changes are updated on the fly and shown in real time. It also makes it easier to review with UX/UI folks and the customer. This allows developers to focus on specific UI components and not get caught up in the entire page or content they are working on. I like to incorporate mine directly into the site and then use it as a point of reference and review.
#Stylizer for css code
This encourages code reuse and more careful use of the framework's exposed variables which are often enough to stylize the majority of a site. One of the best ways to overcome this is by using an interactive style guide that points to the central styles.

Unfortunately, many front-end developers have a tendency to use these poorly by arbitrarily overriding classes or redefining classes from page to page. I have found that one of the easiest ways to scaffold a site is to use a foundational CSS framework like Bootstrap, Foundation, or one of the many Material Design frameworks.
