我有一个名为JeanB
的子主题,其jeanb.info
文件就像
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
有效!
答案 0 :(得分:1)
我认为应该是
base theme = bartik 而不是:basetheme = bartik。
答案 1 :(得分: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