[support] Sub-theme
Pia Oliver
pia at piasworld.com
Thu Oct 10 17:02:07 UTC 2013
Have you tried:
1. Make a copy of the "Bartik" folder from the core>themes file.
2. Put this folder in your sites>all>themes folder
3. rename this folder "bartik-cjm
4. open the "bartik.info file and add "stylesheets[all][] = css/local.css"
5. Rename bartik.info file to "bartik-cjm"
5a. Create a file in the css folder called "local.css" since it's
here you will be over riding the Bartik original css files
6. check all the other files in the "bartik-cjm" folder for "Bartik"
and replace this with "bartik-cjm"
7. Go to Admin/appearance and you will now see your subtheme "bartik-cjm"
Pia
>Hi Folks,
>
>I am still trying to understand sub-themeing. I have four themes
>installed and two enabled. Bartik(enabled), Seven(enabled), Garland,
>Stark. I tried a minimal, trivial sub-theme of Bartik by creating a
>subdirectory /sites/all/themes/bartik-cjm populated as follows:
>
>
>bartik-cjm/
>
>bartik-cjm.info
>
>css/
>
>local.css
>
>
>bartik-cjm.info:
>
>
>name = Bartik-cjm
>base theme = Bartik
>
>core = 7.x
>
>stylesheets[all][] = css/local.css
>
>
>According to everything I've read, and it has been a increasing
>amount, this should be sufficient to create a sub-theme named
>"Bartik-cjm" which inherits everything from Bartik and overrides
>local.css with my copy. I believe I should see this as one of the
>options in admin/appearance, and I don't. I can see that
>$data[system_list][theme] is populated from the MySQL database
>(select * from cache_bootstrap where cid = "system_list";), which
>only has my original four themes in the serialized object.
>
>
>So, either the database must be updated somewhere, somehow, by
>someone, -- OR -- Drupal must look at the filesystem and realize
>that there is more to the story than the database knows and extend
>the list. So, how does Drupal become aware of the custom sub-theme?
>
>--
>
>Chris.
>
>
>--
>[ Drupal support list | http://lists.drupal.org/ ]
--
<http://www.Piasworld.com>
"That's a great deal to make one word mean," Alice said in a thoughtful
tone. "When I make a word do a lot of work like that," said Humpty Dumpty, "I
always pay it extra."
Lewis Carrol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131010/d74241d6/attachment.html
More information about the support
mailing list