Adobe Business Catalyst Module Stylesheet Reset Sheet
View the Project on GitHub itbusiness/Adobe-Business-Catalyst-Reset-Project
This project aims to reset the default style sheet served for any Adobe Business Catalyst website.
The purpose of this is to reset all the pre-defined styles, fix incorrectly applied classes and methods and make minor changes to help to apply consistent custom styles for your own site which won't conflict with 3rd party style sheets and javascript.
Create a BC website using the "Start from scratch" option.
Then just upload or hotlink the latest reset style sheet inside your html file as the first CSS reference like the example below.
<link href="/StyleSheets/modulestylesheets.normalise.css" type="text/css" rel="StyleSheet" />
A working demo is currently in build to test this project at walkthrough.businesscatalyst.com
This is now the preferred method to resetting a BC website. It preserves a range of default styles providing a better cross-browser consistency as well as being HTML5-ready.
As this is still in Beta there are two other files.
Whenever you create a new Adobe Business Catalyst website you'll notice the following line of code gets added to any HTML file inside BC.
<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
This style sheet is the default style sheet served by Business Catalyst in order to pre-style a basic website.
A major issue with this is that the styles often conflict with your own custom stylesheet and many "default" styles do not relect what you may want to appear in your website.
There is also very little consistency in font-sizes, line-heights, margins, padding which make it very difficult to create a website which conforms to basic design principles and make a site look its best.
There are two alternative components to this project:
One of the major elements of the normalisation sheet is to preserve useful browser defaults rather than erasing them.
This sheet is based on the work by Nicolas Gallagher and Nathan Smith who both have spent considerable time researching and testing cross-browser compliant styles.
The normalisation sheet is now the preferred method for the project however the Reset Sheet will be kept as an alternative resource.
This is an alternative approach and resets all pre-defined styles to Eric Meyer's CSS Reset Sheet.
This tool is a widely used stylesheet to resolve many browser inconsistencies. This has been used as the basis for much of this project but other issues and inconsistencies specific to Business Catalyst have also been addressed.
We've made the decision to add a portion of our own base sheet in order provide a more mature starting point. You can remove either of these components and replace with your own base sheet.
To Date the following items have been addressed:
There are still some issues being resolved in regards to CSS Specificity and Inheritance and still some functionality of BC that have yet to be tested such as the Forums, eCommerce Poplets, Photogallery and Dynamic Menus.
A complete list of the status of these items will be published during the next update of the Reset Sheet.
For more information about being an Adobe Business Catalyst Partner, visit our website.