Editing the CSS files for the Website interface

« 
Previous topic
|
|
Author Message

paul bolger

Monday 23 April 2007 6:41:16 pm

I've been developing a site using just the website interface (partly to see just how practical this is). The document

http://ez.no/doc/content/download/8656/34754/version/5/file/ezwebin_customization.pdf

is pretty detailed about how to export and re-import the two css files, but gives little detail about how one should create them in the first place. The files 'live' in

/var/storage/packages/ez_systems/ezwebin_design/files/default/file

Is it a good idea to edit them in there? Or can you put them in the design directory?

Paul Bolger

Betsy Gamrat

Tuesday 08 May 2007 7:37:45 pm

Paul,

The files do "live" in the area you specified.

You create them with a text editor and apply CSS classes to override the design.

Using the packages as described in the documentation allows you to create a nice design that is easily applied to a site, although assembling the package each time you make a change may get tiresome.

My recommendation is to first get the images in order. Then edit the CSS files on the server until you are happy with the look. When you finish - export the package for reuse.

Good luck.

paul bolger

Thursday 17 May 2007 5:04:36 pm

Thanks Betsy,

I have realised since my original posting that I had a permissions problem which was preventing me from editing the files in the var directory. That's fixed now.

I think there is a hole in the documentation here though. The website interface is supposed to be easy eZpublish, after all.

Paul Bolger

Andy Boston

Saturday 23 February 2008 3:55:49 pm

Another way of doing it so you don't affect the original files is to create a style package through the admin interface.

setup > packages > create new package

the site-colors.css & classes-colors.css can even be blank at this point.

Then, once it's created you can FTP the CSS files to a local folder that is created at

/var/storage/packages/local/NAMEOFYOURSTYLE/files/default/file

Just a bit safer and definitely quicker than uploading the style again when you make a minor tweak :-)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.