This is an old revision of the document!
Custom Theme
cd /usr/share/rootsitedir
mkdir sites/all/themes/bessparent
cp -R themes/garland/* sites/all/themes/bessparent/
rm -R sites/all/themes/bessparent/minnelli
mv sites/all/themes/bessparent/garland.info sites/all/themes/bessparent/bessparent.info
nano -w sites/all/themes/bessparent/bessparent.info
- bessparent.info
name = BessParent
description = Garland clone.
version = VERSION
core = 6.x
engine = phptemplate
stylesheets[all][] = style.css
stylesheets[print][] = print.css
; Information added by drupal.org packaging script on 2012-02-29
version = "6.25"
project = "drupal"
datestamp = "1330534547"
mkdir sites/all/themes/digibess
nano -w sites/all/themes/digibess/digibess.info
- digibess.info
name = DigiBess
description = DigiBess theme.
version = VERSION
core = 6.x
base theme = bessparent
stylesheets[all][] = digibess.css
; Information added by drupal.org packaging script on 2012-02-29
;version = "6.25"
;project = "drupal"
;datestamp = "1330534547"
nano -w sites/all/themes/digibess/template.php
- template.php
<?php
function digibess_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode('>', $breadcrumb) .'</div>';
}
}
Create child
CSS to override formatting
nano -w sites/all/themes/digibess/digibess.css
- digibess.css
a:link, a:visited {
color: #0000ce;
}
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
color: #0000ce;
font-weight: normal;
text-shadow: #0000ce 0px 0px 0px;
font-size: 1.7em;
}
#header-region {
min-height: 1em;
background: #fff;
}
#wrapper {
background: #fff;
}
#wrapper #container #center #squeeze {
background: #fff url(images/bg-content.png) repeat-x 50% 0;
position: relative;
}
#tabs-tabset {
background: #fff;
}
#tabs-tabset ul.primary li a {
background: #eeeef6 url(images/bg-tabs.png) repeat-x 50% 0;
color: #0000ce;
}
#tabs-tabset ul.primary li a:hover {
color: #000;
}
#tabs-tabset ul.primary li.ui-tabs-selected a {
color: #000;
}
#tabs-tabset .collview {
background: transparent;
}
#tabs-tabset .collview td {
padding: 1px 1px 0px 1px;
text-align: center;
}
#tabs-tabset .collcell1 {
/* background: #fff url(images/bg-content.png) repeat-x 50% 0;*/
/* border: 5px solid #fff; */
}
#tabs-tabset .cellthumb {
background: #fff;
border: 1px solid #fff;
vertical-align: bottom;
}
#tabs-tabset .cellthumb img{
border: 1px solid #dbdbf8;
}
#tabs-tabset .cellthumb1 {
border: 1px solid #eeeef6;
vertical-align: middle;
font-size: 0.6em;
height: 150px;
}
#tabs-tabset .cellthumb1 img{
border: 0px solid #dbdbf8;
}
#tabs-tabset .libromd img{
border: 1px solid #dbdbf8;
}
#tabs-tabset .celldescr {
background: #fff;
border: 1px solid #fff;
vertical-align: top;
color: #000;
}
#tabs-tabset .celldescr1 {
border: 5px solid #fff;
vertical-align: top;
height: 30px;
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
color: #000;
}
#tabs-tabset .tocnr_collection .label {
border: 3px solid #fff;
width: 10%;
height: 150px;
padding: 15px 3px 5px 5px;
text-align: center;
}
#tabs-tabset .tocnr_collection .value {
border: 3px solid #fff;
width: 90%;
background: #fff url(images/bg-content.png) repeat-x 50% 0;
vertical-align: top;
padding: 15px 5px 5px 3px;
color: #000;
}
#tabs-tabset .tocnr_collection .label img{
}
#wrapper #container #center .right-corner {
background: transparent;
position: relative;
left: 10px;
}
#wrapper #container #center .right-corner .left-corner {
padding: 60px 25px 5em 35px;
background: transparent;
margin-left: -10px;
position: relative;
left: -10px;
min-height: 400px;
}
#wrapper #container .breadcrumb {
color: #909090;
}
#wrapper #container .breadcrumb a {
color: #0000ce;
}