<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [support] Sub-theme</title></head><body>
<div>Chris,</div>
<div><br></div>
<div>My understanding is that unless you create a theme from scratch,
with all the template files, you need to use the structure of a
"base" theme. Therefore, you modify the templates and css
files in the renamed copies of the files. This becomes your own
"subtheme".</div>
<div><br></div>
<div>If you want to do a theme from scratch you must create the other
files.</div>
<div><br></div>
<div>Pia</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>
<blockquote><b>From:</b> "Pia Oliver"
<pia@piasworld.com><br>
<b>To:</b> support@drupal.org<br>
<b>Sent:</b> Thursday, October 10, 2013 10:02:07 AM<br>
<b>Subject:</b> Re: [support] Sub-theme<br>
</blockquote>
<blockquote><br></blockquote>
<blockquote>Re: [support] Sub-theme</blockquote>
<blockquote>Have you tried:</blockquote>
<blockquote><br></blockquote>
<blockquote>1. Make a copy of the "Bartik" folder from
the core>themes file.</blockquote>
<blockquote>2. Put this folder in your sites>all>themes
folder</blockquote>
<blockquote>3. rename this folder "bartik-cjm</blockquote>
<blockquote>4. open the "bartik.info file and add
"stylesheets[all][] = css/local.css"</blockquote>
<blockquote>5. Rename bartik.info file to
"bartik-cjm"</blockquote>
<blockquote>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</blockquote>
<blockquote>6. check all the other files in the "bartik-cjm"
folder for "Bartik" and replace this with
"bartik-cjm"</blockquote>
<blockquote>7. Go to Admin/appearance and you will now see your
subtheme "bartik-cjm"</blockquote>
<blockquote><br></blockquote>
<blockquote>Pia<br>
</blockquote>
</blockquote>
<blockquote type="cite" cite>Hi Pia,<br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>No. I haven't done that for a very
specific reason and that reason is that your recommended procedure
does not give me a sub-theme; it gives me a custom theme which is a
modified copy of Bartik rather than a sub-classed descendant. In
this case, I am no longer inheriting from the Bartik base theme; I
will have a copy which means that any changes to the base theme will
be ignored and I don't really have a sub-theme; I have a modified new
base-theme. I am lead to believe that what I have done is sufficient.
(<a
href="https://drupal.org/node/225125">https://drupal.org/node/225125</a
>), but clearly there is something that I don't understand, because my
understanding is at variance with practice.<br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Thanks for the help,<br>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Chris.</blockquote>
<blockquote type="cite" cite><br>
--<br>
[ Drupal support list | http://lists.drupal.org/ ]</blockquote>
<div><br></div>
<div><br></div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div>Pia Oliver<br>
<br>
C'est dans les tempêtes qu'on reconnaît les bons capitaines.<br>
<br>
http://www.piasworld.com</div>
</body>
</html>