Change font size of {$node.data_map.description.content.output.output_text}

Author Message

Maarten Holland

Wednesday 18 February 2004 1:22:07 am

Hello,

When I use {$node.data_map.description.content.output.output_text} to show the contents of an XML-textfield from my article, I get a really small font size, regardless my <DIV> or <SPAN>.

Is there a specific template/view I have to adjust to get it to follow the font size I've used in my DIV or SPAN?

Thank you in advance,

Maarten

Paul Forsyth

Wednesday 18 February 2004 3:36:26 am

Can you look at the generated source and print the relevant parts here? It should show just what css is being applied to your text.

Paul

Maarten Holland

Wednesday 18 February 2004 4:54:16 am

Thank you! *ashamed* I had not looked at my source yet. When I viewed it, I saw that eZ placed <P>-tags around my text. The core CSS had

p
/* This is the "regular" font size. */
{
font-size: 80%;
}

in it. I've changed it to 100% and all my problems are solved. If only all things were this simple... :-)

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 00:32:07
Script start
Timing: Jan 19 2025 00:32:07
Module start 'layout'
Timing: Jan 19 2025 00:32:07
Module start 'content'
Timing: Jan 19 2025 00:32:09
Module end 'content'
Timing: Jan 19 2025 00:32:09
Script end

Main resources:

Total runtime1.2696 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 589.5234152.6875
Module start 'layout' 0.00990.0061 742.210939.5234
Module start 'content' 0.01591.2523 781.7344467.2344
Module end 'content' 1.26820.0014 1,248.96888.0625
Script end 1.2696  1,257.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2909160.0002
Check MTime0.00150.1207160.0001
Mysql Total
Database connection0.00290.230110.0029
Mysqli_queries1.219596.0489570.0214
Looping result0.00070.0579550.0000
Template Total1.224096.420.6120
Template load0.00230.178920.0011
Template processing1.221896.227620.6109
Template load and register function0.00020.019510.0002
states
state_id_array0.00140.113810.0014
state_identifier_array0.00220.172220.0011
Override
Cache load0.00190.1488190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.054920.0003
Fetch class attribute name0.00140.111130.0005
XML
Image XML parsing0.00020.016320.0001
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0617100.0001
String conversion0.00000.002140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs