Forums / Setup & design / Edit Standard Design & Font Size

Edit Standard Design & Font Size

Author Message

Patrick Vuithier

Sunday 03 July 2005 2:28:28 am

I am very new to EZ Publish and read in the forum now for an hour but cannot get an answer. I have a standard template, which you can visit here:

http://www.weinmitwir.ch/index.php?

I tried to remove the left side menu bar in the ADMIN, but it does not go away. Then, I tried to make the different font sizes smaller. Therefore I tried to edit /design/standard/stylesheets/style.css... Nothing happened. I would be grateful, if anyone could help me. Many thanks.

Patrick

Daniel Beyer

Sunday 03 July 2005 9:10:37 am

Hi Patrick,

did you try the new documentation of eZ publish:
http://ez.no/doc/

I suggest to enable the template-debug. With this you will see which templates are included on your page. You can enable it by putting this code in /settings/override/site.ini.append.php:

[TemplateSettings]
# Use either enabled to see which template files are loaded or disabled to supress debug
Debug=enabled

Check in those templates for the left side menu bar you want to remove.

I suggest you take a look in the source of http://www.weinmitwir.ch/index.php. There you will see that it makes use of these stylesheets:

/design/base/stylesheets/core.css
/design/base/stylesheets/site.css
/packages/styles/t07/files/default/file/design/base/stylesheets/t7/site-colors.css
/design/base/stylesheets/classes.css
/packages/styles/t07/files/default/file/design/base/stylesheets/t7/classes-colors.css
/design/standard/stylesheets/debug.css

Check in those files for the sizes of your fonts.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

Patrick Vuithier

Monday 04 July 2005 4:09:06 am

Hi Daniel,

Thanks for your reply and your help. Well, I think, that I have found out, why I was not able to reduce the font sizes. It seems, that the font sizes in the stylesheet are not listed in pixels, but in "em", which is something completely new for me. I got information about "em" here:

http://de.selfhtml.org/css/formate/wertzuweisung.htm#numerische

So I will have to check out what I have to do.

Thanks again and greetings from Switzerland.

Patrick

Daniel Beyer

Monday 04 July 2005 7:59:39 am

Hi,

you're right. eZ systems prefers the use of "em" and "%" in their stylesheets. This is because your fonts then will be scalable by a browser.

Selfhtml for css, html and javascript is always a good help. I think you can find your answers there.

Actually I'm working for a swiss company, but I'm located in Germany at the moment. So greetings to swiss from me!

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

Patrick Vuithier

Wednesday 13 July 2005 1:29:28 am

Hi Daniel,

I tried for a few days now, and I think I am getting mad now! If you find the time to visit my testsite at http://www.weinmitwir.ch/index.php, you see on the left side the menu points like "Contac us" etc. They are in an ugly green. I cannot switch them off, nor I find the code piece to change this ugly green in another color. Maybe you have an idea. I already looked at all stylesheets.

Many thanks and have a good day.

Patrick

Patrick Vuithier

Wednesday 13 July 2005 4:14:23 am

STOOOOOOOOOP! I see that anyone that can read and use the forum has a clear advance! ;-) I found after hours and day, how to overried standard colors! Here it is, for other users:

http://ez.no/community/forum/setup_design/overriding_css_quick_tour

Now I like the program ;-)

Greetings, Patrick