2013-06-18 67 views
0

我有一个名为JeanBjeanb.info文件中的子主题是像Drupal的子主题不继承父CSS

name = JeanB 
description = JenB is a new theme. 
basetheme = bartik. 


stylesheets[all][] = css/jeanb.css 

regions[header] = Header 
regions[help] = Help 
regions[page_top] = Page top 
regions[page_bottom] = Page bottom 
regions[highlighted] = Highlighted 
; Information added by drupal.org packaging script on 2012-02-01 
version = "7.12" 
project = "drupal" 
datestamp = "1328134560 

的猪病jeanb/sites/all/themes。但是,这个子主题是无法继承父css属性,虽然jeansb.css工程!

回答

1

我觉得应该是

基本主题= bartik代替:basetheme = bartik。

0

这应该为你工作----

name = JeanB 
description = A sub theme of Bartik theme with many regions. 
core = 7.x 
base theme = bartik 

stylesheets[all][] = css/JeanB.css 

regions[header] = Header 
regions[help] = Help 
regions[page_top] = Page top 
regions[page_bottom] = Page bottom 
regions[highlighted] = Highlighted 

regions[featured] = Featured 
regions[content] = Content 
regions[sidebar_first] = Sidebar first 
regions[sidebar_second] = Sidebar second 

regions[triptych_first] = Triptych first 
regions[triptych_middle] = Triptych middle 
regions[triptych_last] = Triptych last 

regions[footer_firstcolumn] = Footer first column 
regions[footer_secondcolumn] = Footer second column 
regions[footer_thirdcolumn] = Footer third column 
regions[footer_fourthcolumn] = Footer fourth column 
regions[footer] = Footer 

settings[shortcut_module_link] = 0