my site uses a core template and multiple templates. I did not set it up it was done by daniel ecer.
the css of the page/template i want the hover to appear is
div.title-site h1 {
background: url(../images/title.gif) no-repeat;
width: 335px;
height: 30px;
}
div.title-site h1 span {
display: none;
}
div.title-site h1 a {
display: block;
width: 100%;
height: 100%;
}
this is the template html
<?php
global $cur_template, $mosConfig_absolute_path, $mosConfig_live_site;
require_once($mosConfig_absolute_path.'/templates/sandbox_shared/sandbox_template.class.php');
$template =& SandboxTemplate::getInstance();
$template->setShortcutIcon('templates/'.$cur_template.'/images/favicon.ico');
$template->addStyleSheet('templates/'.$cur_template.'/css/template_css.css');
$template->addStyleSheet('templates/'.$cur_template.'/topnav/css/menu.css');
$template->setHeaderFlash('flash/playground_onload.swf', 166, 117);
$template->setHeaderTitle('Sandbox Education');
$template->setHomeUrl($mosConfig_live_site);
$variation = intval(mosGetParam($_REQUEST, 'variation', 0));
if (($variation > 0) && (file_exists($mosConfig_absolute_path.'/templates/'.$cur_template.'/css/variation'.$variation.'.css'))) {
$template->addStyleSheet('templates/'.$cur_template.'/css/variation'.$variation.'.css');
}
$template->show();
?>
thanks!
I am clueless as to where to put it and when I saw the module I thought it was really beautiful piece of work!
thanks
div.header-buttons-site a.sitemap-site {
display: block;
background: url(../images/sitemap.gif) no-repeat;
width: 18px;
height: 16px;
}
div.header-buttons-site a.sitemap-site span {
display: none;
}
.main-area-site ul {
}
.main-area-site ul li {
line-height: 15px;
}
.main-area-site ul li div.title {
height: 15px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
ul li {
min-height: 15px;
margin: 0;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/block_fill.gif);
background-repeat: no-repeat;
background-position: 0px 2px;
}
ul li li {
background-image: url(../images/circle_fill.gif);
}
ul li li li {
background-image: url(../images/triangle_fill.gif);
}
ul li li li li {
background-image: url(../images/block_fill.gif);
}
body {
background: url(../images/back.gif) repeat center center;
/* background-position: 50px top; */
}
.footer-site a:hover {
color: #EF348C;
}
a:link, a:visited, a:hover {
color: #EF348C;
}
/* ====================================================================
MAMBO CLASSES
These are largely the standard Mambo classes...
==================================================================== */
a.fase4rdf:link, a.fase4rdf:hover {
color: #404040;
}
a.pathway, a.pathway:link, a.pathway:visited, span.pathway {
color: #404040;
}
a.pathway:hover {
color: #EF348C;
}
/* styling for the pdf/email/print icons */
a.readon:hover {
color: #EF348C;
}
a.toclink:hover,a.toclink:visited,a.toclink:link {
}
table.contenttoc {
border: 1px solid #EF348C;
}
/** category text format and links **/
.componentheading {
color: #EF348C;
}
/* Search Text */ /* Contact Component */ /* Content voting */
.contentheading {
color: #EF348C;
}
.icons a:hover {
color: #EF348C;
}
.inputbox {
border: 1px solid #EF348C;
}
/* Module corners */
div.module {
background: url(../images/module_bottom_left.gif) bottom left no-repeat;
}
div.module div {
background: url(../images/module_bottom_right.gif) bottom right no-repeat;
}
div.module div div {
background: url(../images/module_top_left.gif) top left no-repeat;
}
div.module div div div {
background: url(../images/module_top_right.gif) top right no-repeat;
}
div.module div div div div {
background: none;
}
div.middle-header-site {
margin-top: 4px;
border-left: 1px dotted #EF348C;
border-top: 1px dotted #EF348C;
border-right: 1px dotted #EF348C;
}
div.middle-main-site {
border-left: 1px dotted #EF348C;
border-bottom: 1px dotted #EF348C;
border-right: 1px dotted #EF348C;
}
the question is where do I put the css code you include in the bqck end as this page has no header....<br><br>Post edited by: sandbox, at: 2007/06/18 21:29