WeAreNine Posted June 24, 2012 Share Posted June 24, 2012 Just starting to get my teeth into theme design for Prestashop. Noticed that the CSS is brought in, and there are loads of CSS files to deal with. I'm a front-end developer, and have never seen so many CSS files for a project! They're brought in using this: {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} But wondered if I could just reference 2/3 files, and cut this out, is it used for anything else? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 9, 2012 Share Posted August 9, 2012 (edited) Hi, That is used to add any queued css to the store, so that every assigned css file for every module is added. Of course, if your theme is for your personal use only, you can go ahead and remove that, and only include your main global or anythingelse .css file with all the styles you need Cheers! Edited August 9, 2012 by Nemo1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now