Theming Exchange - Remove Default Exchange Stylesheet

From IThemes Codex
Revision as of 09:17, September 13, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is an advanced option and should be used with caution.

In some cases you may not need the default Exchange stylesheet for styles. For example, if you know you are going to have a store with ten products (all downloads) and users can only purchase one product at a time, the need for all the styles in the default stylesheet is not necessary.

You can remove the default Exchange stylesheet with a simple filter.

add_filter( 'it_exchange_disable_frontend_stylesheet', '__return_true' );

Adding this to the exchange/style.css file of your theme will disable the default stylesheet. All you have to do from here is copy over the styles you need from ithemes-exchange/lib/assets/styles/exchange.css (or be a true ninja and write your own).

Personal tools
iThemes Codex
Codex Navigation