0

我有一个名为的子主题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有效!

4

2 回答 2

1

我认为应该是

基本主题 = bartik 而不是:basetheme = bartik。

于 2013-06-18T19:06:47.453 回答
0

this should work for you----

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
于 2013-06-18T22:10:33.657 回答