2013-06-18 92 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