Friday, 15 March 2013

xml - Edit joomla content in component via CSS on a template i created -



xml - Edit joomla content in component via CSS on a template i created -

how edit body text (content) of component in joomla. css edit #content responding other attributes padding/margin, border, width/height , background not on font attributes...

in index.php

<body> <div id="content"><jdoc:include type="component" /></div> </body>

css

#content { padding:20px 10px 0 20px; width:670px; border-right:1px groove; line-height:30px; font-family:monotype corsiva; font-size:16px; }

hmm.. if think font attributes important, can utilize !important property overrule styling :)

#content { padding:20px 10px 0 20px; width:670px; border-right:1px groove; line-height:30px; font-family:monotype corsiva !important; font-size:16px !important; }

css xml html5 joomla1.5 joomla-template

No comments:

Post a Comment