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

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

eZ debug

Timing: Jan 19 2025 03:22:14
Script start
Timing: Jan 19 2025 03:22:14
Module start 'layout'
Timing: Jan 19 2025 03:22:14
Module start 'content'
Timing: Jan 19 2025 03:22:14
Module end 'content'
Timing: Jan 19 2025 03:22:14
Script end

Main resources:

Total runtime0.0184 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1563152.6250
Module start 'layout' 0.00720.0035 741.781339.4609
Module start 'content' 0.01080.0052 781.242293.4609
Module end 'content' 0.01600.0023 874.703138.3047
Script end 0.0183  913.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002916.0358140.0002
Check MTime0.00136.9474140.0001
Mysql Total
Database connection0.00105.502910.0010
Mysqli_queries0.003418.281830.0011
Looping result0.00000.141610.0000
Template Total0.001910.310.0019
Template load0.00105.606810.0010
Template processing0.00094.637710.0009
Override
Cache load0.00073.802410.0007
General
dbfile0.00031.730480.0000
String conversion0.00000.053340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs