Share » Forums » Developer » CSS

CSS

CSS

Saturday 29 January 2011 11:48:58 am - 3 replies

Author Message

Thiago Campos Viana

Saturday 29 January 2011 1:38:03 pm

You can override as the templates or, if you are creating a design extension, you can create a design.ini.append.php file and define a new css file:

[StylesheetSettings]
FrontendCSSFileList[]=yourstyle.css

Then you need to create the yourstyle.css file inside the stylesheets folder of your design folder. Just don't forget that you need to know the priority of your extension is defined in the settings/override/site.ini.append.php

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Sunday 30 January 2011 8:56:21 am

Thanks.

I have enabled debug in the front. Then comes a list of templates that are being used and a button to the right to override it. Then creates an override in the default folder "design/ezflow/override/templates/".

There is any way to do something similar with CSS?

If I do it by modifying the file "design.ini.append.php" where have I to put the new CSS?

Thiago Campos Viana

Monday 31 January 2011 7:27:55 am

Hello David, you need to put the new css inside any stylesheets folder of any of your extensions or in some design folder. Best pratice is create a design extension and put it there, and also all your templates/images/javascripts files.

If you need some more help, just ask.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu