2013-02-09 26 views
0

如何在joomla中編輯組件的正文文本(內容)。編輯#content的CSS是應對像填充/保證金,邊框寬度/高度及背景等屬性,但不是字體屬性...在我創建的模板上通過CSS編輯組件中的joomla內容

的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; 
} 

回答

1

嗯..如果你覺得字體屬性是很重要的,可以使用!重要的屬性來推翻造型:)

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